org.objectweb.jotm.btp.messages
Class InferiorTimeout

java.lang.Object
  |
  +--org.objectweb.jotm.btp.messages.Qualifier
        |
        +--org.objectweb.jotm.btp.messages.InferiorTimeout

public class InferiorTimeout
extends Qualifier


Constructor Summary
InferiorTimeout(int seconds)
          Create a new InferiorTimeout qualifier.
InferiorTimeout(int seconds, int decision)
          Create a new InferiorTimeout qualifier.
InferiorTimeout(XElement el)
           
 
Method Summary
 String getDecision()
           
 int getTimeout()
           
 
Methods inherited from class org.objectweb.jotm.btp.messages.Qualifier
addElement, elementAt, getName, setContent, setContent, setGroup, setMustBeUnderstood, setToBePropagated, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InferiorTimeout

public InferiorTimeout(int seconds)
Create a new InferiorTimeout qualifier.

Parameters:
seconds - timeout in seconds

InferiorTimeout

public InferiorTimeout(int seconds,
                       int decision)
Create a new InferiorTimeout qualifier.

Parameters:
seconds - timeout in seconds
decision - should be set to BtpMessage.CONFIRM or BtpMessage.CANCEL

InferiorTimeout

public InferiorTimeout(XElement el)
Method Detail

getTimeout

public int getTimeout()

getDecision

public String getDecision()