org.objectweb.jotm.btp.messages
Class RelatedGroup
java.lang.Object
|
+--org.objectweb.jotm.btp.messages.BtpMessage
|
+--org.objectweb.jotm.btp.messages.RelatedGroup
- public class RelatedGroup
- extends BtpMessage
Fields inherited from class org.objectweb.jotm.btp.messages.BtpMessage |
CANCEL, CANCEL_INFERIORS, CANCEL_TRANSACTION, CONFIRM, CONFIRM_ONE_PHASE, CONFIRM_TRANSACTION, CONFIRMED, CONTRADICTION, EMPTY, ENROLLED, FAULT, HAZARD, INFERIOR_STATE, INFERIOR_STATUSES, JOTM_ADMIN, PREPARE, PREPARE_INFERIORS, REDIRECT, RELATED_GROUP, REQUEST_INFERIOR_STATUSES, REQUEST_STATUS, RESIGN, RESIGNED, STATUS, SUPERIOR_STATE, TRANSACTION_CANCELLED, TRANSACTION_CONFIRMED |
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 |
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
APP
public static final int APP
- See Also:
- Constant Field Values
BEGIN
public static final int BEGIN
- See Also:
- Constant Field Values
BEGUN
public static final int BEGUN
- See Also:
- Constant Field Values
CANCELLED
public static final int CANCELLED
- See Also:
- Constant Field Values
CONTEXT
public static final int CONTEXT
- See Also:
- Constant Field Values
CONTEXT_REPLY
public static final int CONTEXT_REPLY
- See Also:
- Constant Field Values
ENROL
public static final int ENROL
- See Also:
- Constant Field Values
PREPARED
public static final int PREPARED
- See Also:
- Constant Field Values
BEGIN_CONTEXT
public static final int BEGIN_CONTEXT
- See Also:
- Constant Field Values
BEGUN_CONTEXT
public static final int BEGUN_CONTEXT
- See Also:
- Constant Field Values
CONTEXT_APP
public static final int CONTEXT_APP
- See Also:
- Constant Field Values
CTXREPLY_APP
public static final int CTXREPLY_APP
- See Also:
- Constant Field Values
CTXREPLY_ENROL
public static final int CTXREPLY_ENROL
- See Also:
- Constant Field Values
CTXREPLY_ENROL_CANCELLED
public static final int CTXREPLY_ENROL_CANCELLED
- See Also:
- Constant Field Values
CTXREPLY_ENROL_PREPARED
public static final int CTXREPLY_ENROL_PREPARED
- See Also:
- Constant Field Values
CTXREPLY_ENROL_APP_PREPARED
public static final int CTXREPLY_ENROL_APP_PREPARED
- See Also:
- Constant Field Values
RelatedGroup
public RelatedGroup()
RelatedGroup
public RelatedGroup(int subtype)
RelatedGroup
public RelatedGroup(BtpMessage m1)
RelatedGroup
public RelatedGroup(BtpMessage m1,
BtpMessage m2)
RelatedGroup
public RelatedGroup(BtpMessage m1,
BtpMessage m2,
BtpMessage m3)
RelatedGroup
public RelatedGroup(XElement el)
addMessage
public void addMessage(BtpMessage msg)
getMessages
public Vector getMessages()
getMessage
public BtpMessage getMessage(int pos)
getMessageCount
public int getMessageCount()
getMessagesByType
public Vector getMessagesByType(int type)
getMessageByType
public BtpMessage getMessageByType(int type)
- Return the 1st message of a given type (null if not found).
Use if you are sure only one message of the given type is present...
otherwise, prefer getMessagesByType(type);
getBegin
public Begin getBegin()
getBegun
public Begun getBegun()
getContext
public Context getContext()
getSubtype
public int getSubtype()
toXml
public XElement toXml()
- Overrides:
toXml
in class BtpMessage