All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.util.msgtools.ChannelSetupMessage

java.lang.Object
   |
   +----semper.util.msgtools.ChannelSetupMessage

public class ChannelSetupMessage
extends Object
implements Serializable
Message sent while setting up a channel for negotiations. The initial message sets up a common context between the two parties by establishing the following:
  • Identifier of the object on the initiator side where the message originated. By convention, if the manager of the service was the initiator, then this is 0, otherwise it is the transaction/session id. This is just the recommended interpretation -- you can choose a different interpretation.
  • Identifier of the object on the responder side to which the message is destined
  • An external reference string, chosen on the initiator side and given back as return parameter on the responder side.

    Version:
    $Revision: 1.3 $ $Date: 1997/06/16 16:50:57 $
    Author:
    N. Asokan ([email protected])
    See Also:
    openInitiatorChannel, openResponderChannel

    Constructor Index

     o ChannelSetupMessage()
    Constructor without args
     o ChannelSetupMessage(long, long, String)
    Constructor with arguments.

    Method Index

     o getExtRef()
    Get the external reference
     o getInitiatorTransactionID()
    Get the initiator transaction id
     o getResponderTransactionID()
    Get the responder transaction id

    Constructors

     o ChannelSetupMessage
     public ChannelSetupMessage()
    
    Constructor without args

     o ChannelSetupMessage
     public ChannelSetupMessage(long initiator_transaction_id,
                                long responder_transaction_id,
                                String ext_ref)
    
    Constructor with arguments.

    Parameters:
    initiator_transaction_id - transaction_id at the initiator side
    responder_transaction_id - transaction_id at the responder side
    ext_ref - external reference string
    See Also:
    openInitiatorChannel, openResponderChannel

    Methods

     o getInitiatorTransactionID
     public long getInitiatorTransactionID()
    
    Get the initiator transaction id

     o getResponderTransactionID
     public long getResponderTransactionID()
    
    Get the responder transaction id

     o getExtRef
     public String getExtRef()
    
    Get the external reference


    All Packages  Class Hierarchy  This Package  Previous  Next  Index