org.objectweb.jotm.btp.messages
Class Enrol
java.lang.Object
|
+--org.objectweb.jotm.btp.messages.BtpMessage
|
+--org.objectweb.jotm.btp.messages.Enrol
- public class Enrol
- extends BtpMessage
Fields inherited from class org.objectweb.jotm.btp.messages.BtpMessage |
BEGIN, BEGUN, CANCEL, CANCEL_INFERIORS, CANCEL_TRANSACTION, CANCELLED, CONFIRM, CONFIRM_ONE_PHASE, CONFIRM_TRANSACTION, CONFIRMED, CONTEXT, CONTEXT_REPLY, CONTRADICTION, EMPTY, ENROL, ENROLLED, FAULT, HAZARD, INFERIOR_STATE, INFERIOR_STATUSES, JOTM_ADMIN, PREPARE, PREPARE_INFERIORS, PREPARED, REDIRECT, RELATED_GROUP, REQUEST_INFERIOR_STATUSES, REQUEST_STATUS, RESIGN, RESIGNED, STATUS, SUPERIOR_STATE, TRANSACTION_CANCELLED, TRANSACTION_CONFIRMED, UNKNOWN |
Methods inherited from class org.objectweb.jotm.btp.messages.BtpMessage |
addQualifier, addQualifiers, addReplyAddress, addReplyAddress, addSenderAddress, addSenderAddress, addTargetAddress, get, getId, getInferiorName, getInferiorTimeout, getInferiorTimeoutDecision, getMinimumInferiorTimeout, getName, getQualifier, getQualifier, getQualifiers, getReplyAddress, getReplyAddresses, getSenderAddress, getSenderAddresses, getSingle, getSingle, getTargetAddress, getTransactionTimelimit, getType, pickAddrSet, pickString, setId, setInferiorName, setInferiorTimeout, setMinimumInferiorTimeout, setTargetAddress, setTransactionTimelimit, toHtml, toHtml, toString |
Enrol
public Enrol()
Enrol
public Enrol(XElement el)
setResponseRequested
public void setResponseRequested(boolean response)
getResponseRequested
public boolean getResponseRequested()
setSuperiorIdentifier
public void setSuperiorIdentifier(String uri)
getSuperiorIdentifier
public String getSuperiorIdentifier()
setInferiorIdentifier
public void setInferiorIdentifier(String uri)
getInferiorIdentifier
public String getInferiorIdentifier()
toXml
public XElement toXml()
- Overrides:
toXml
in class BtpMessage
addInferiorAddress
public void addInferiorAddress(Address add)
getInferiorAddresses
public Vector getInferiorAddresses()
getInferiorAddressesCount
public int getInferiorAddressesCount()
getInferiorAddress
public Address getInferiorAddress(int pos)
addInferiorAddress
protected void addInferiorAddress(XElement el)
main
public static void main(String[] args)