org.objectweb.jotm.btp.messages
Class Redirect

java.lang.Object
  |
  +--org.objectweb.jotm.btp.messages.BtpMessage
        |
        +--org.objectweb.jotm.btp.messages.Redirect

public class Redirect
extends BtpMessage


Field Summary
 
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
 
Constructor Summary
Redirect()
           
Redirect(XElement el)
           
 
Method Summary
 void addNewAddress(Address add)
           
protected  void addNewAddress(XElement el)
           
 void addOldAddress(Address add)
           
protected  void addOldAddress(XElement el)
           
 String getInferiorIdentifier()
           
 Address getNewAddress(int pos)
           
 Vector getNewAddresses()
           
 Address getOldAddress(int pos)
           
 Vector getOldAddresses()
           
 String getSuperiorIdentifier()
           
static void main(String[] args)
           
 void setInferiorIdentifier(String uri)
           
 void setSuperiorIdentifier(String uri)
           
 XElement toXml()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Redirect

public Redirect()

Redirect

public Redirect(XElement el)
Method Detail

setSuperiorIdentifier

public void setSuperiorIdentifier(String uri)

getSuperiorIdentifier

public String getSuperiorIdentifier()

setInferiorIdentifier

public void setInferiorIdentifier(String uri)

getInferiorIdentifier

public String getInferiorIdentifier()

addOldAddress

public void addOldAddress(Address add)

getOldAddresses

public Vector getOldAddresses()

getOldAddress

public Address getOldAddress(int pos)

addOldAddress

protected void addOldAddress(XElement el)

addNewAddress

public void addNewAddress(Address add)

getNewAddresses

public Vector getNewAddresses()

getNewAddress

public Address getNewAddress(int pos)

addNewAddress

protected void addNewAddress(XElement el)

toXml

public XElement toXml()
Overrides:
toXml in class BtpMessage

main

public static void main(String[] args)