cgl.narada.wsinfra.wsrm.storage
Interface WsrmExchange

All Known Implementing Classes:
WsrmExchangeImpl

public interface WsrmExchange

This is the base class for the various exchanges that take place between communicating entities, besides sending application messages, in WSRM. All exchanges, whether it is related to creation of sequences, requests for acknowledgemements will extend this interface.


Field Summary
static int CREATE_SEQUENCE
           
static int CREATE_SEQUENCE_RESPONSE
           
static int SEQUENCE_ACKNOWLEDGEMENT
           
static int TERMINATE_SEQUENCE
           
static int WSRM_MESSAGE
           
 
Method Summary
 byte[] getBytes()
          Get a byte representation of the WsrmExchange
 EnvelopeDocument getEnvelope()
          Retrieve the original exchange
 int getExchangeType()
          Retrieve the exchange type
 String getSequenceIdentifier()
          Retrieve the sequence identifier of the sequence in question
 

Field Detail

CREATE_SEQUENCE

static final int CREATE_SEQUENCE
See Also:
Constant Field Values

CREATE_SEQUENCE_RESPONSE

static final int CREATE_SEQUENCE_RESPONSE
See Also:
Constant Field Values

SEQUENCE_ACKNOWLEDGEMENT

static final int SEQUENCE_ACKNOWLEDGEMENT
See Also:
Constant Field Values

TERMINATE_SEQUENCE

static final int TERMINATE_SEQUENCE
See Also:
Constant Field Values

WSRM_MESSAGE

static final int WSRM_MESSAGE
See Also:
Constant Field Values
Method Detail

getExchangeType

int getExchangeType()
Retrieve the exchange type


getBytes

byte[] getBytes()
Get a byte representation of the WsrmExchange


getSequenceIdentifier

String getSequenceIdentifier()
Retrieve the sequence identifier of the sequence in question


getEnvelope

EnvelopeDocument getEnvelope()
Retrieve the original exchange



For comments and suggestions please send e-mail to The NaradaBrokering Project