cgl.narada.wsinfra.wsrm
Interface WsrmExchangeInfo

All Known Implementing Classes:
WsrmExchangeInfoImpl

public interface WsrmExchangeInfo

This is a utility class which encapsulates information regarding ALL possible WSRM exchanges. This class can then be used at either the source/sink to determine if the exchange targetted to it is indeed the right one. The class contains simply boolean operations to determine the type of the WSRM exchange or if this is in fact even a WSRM exchange to begin with.


Method Summary
 AddressingHeaders getAddressingHeaders()
          Retrieve the addressing headers that were associated with this exchange
 String getProblemsWithExchange()
          If this is an invalid exchange, this method reports all the problems contained within this exchange.
 boolean hasAckRequested()
          Checks to see if the AckRequested element is available
 boolean hasSequence()
          Checks to see if the Sequence element is available
 boolean hasSequenceAcknowledgement()
          Checks to see if the SequenceAcknowledgement element is available
 boolean isCreateSequence()
          Checks to see if this is a create sequence exchange
 boolean isCreateSequenceResponse()
          Checks to see if this is a create sequence response exchange
 boolean isTerminateSequence()
          Checks to see if this is a terminate sequence exchange
 boolean isValidExchange()
          Checks to see if this is a valid exchange
 

Method Detail

hasSequence

boolean hasSequence()
Checks to see if the Sequence element is available


hasAckRequested

boolean hasAckRequested()
Checks to see if the AckRequested element is available


hasSequenceAcknowledgement

boolean hasSequenceAcknowledgement()
Checks to see if the SequenceAcknowledgement element is available


isCreateSequence

boolean isCreateSequence()
Checks to see if this is a create sequence exchange


isCreateSequenceResponse

boolean isCreateSequenceResponse()
Checks to see if this is a create sequence response exchange


isTerminateSequence

boolean isTerminateSequence()
Checks to see if this is a terminate sequence exchange


getAddressingHeaders

AddressingHeaders getAddressingHeaders()
Retrieve the addressing headers that were associated with this exchange


isValidExchange

boolean isValidExchange()
Checks to see if this is a valid exchange


getProblemsWithExchange

String getProblemsWithExchange()
If this is an invalid exchange, this method reports all the problems contained within this exchange.



For comments and suggestions please send e-mail to The NaradaBrokering Project
ndiana.edu> The NaradaBrokering Project
HTML>