|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.wsrm.impl.WsrmExchangeInfoImpl
public class WsrmExchangeInfoImpl
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.
| Constructor Summary | |
|---|---|
protected |
WsrmExchangeInfoImpl(AddressingHeaders addressingHeaders)
|
| 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 |
protected void |
setAckRequested()
|
protected void |
setCreateSequence()
|
protected void |
setCreateSequenceResponse()
|
protected void |
setSequence()
|
protected void |
setSequenceAcknowledgement()
|
protected void |
setTerminateSequence()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected WsrmExchangeInfoImpl(AddressingHeaders addressingHeaders)
| Method Detail |
|---|
public boolean hasSequence()
hasSequence in interface WsrmExchangeInfoprotected void setSequence()
public boolean hasAckRequested()
hasAckRequested in interface WsrmExchangeInfoprotected void setAckRequested()
public boolean hasSequenceAcknowledgement()
hasSequenceAcknowledgement in interface WsrmExchangeInfoprotected void setSequenceAcknowledgement()
public boolean isCreateSequence()
isCreateSequence in interface WsrmExchangeInfoprotected void setCreateSequence()
public boolean isCreateSequenceResponse()
isCreateSequenceResponse in interface WsrmExchangeInfoprotected void setCreateSequenceResponse()
public boolean isTerminateSequence()
isTerminateSequence in interface WsrmExchangeInfoprotected void setTerminateSequence()
public AddressingHeaders getAddressingHeaders()
getAddressingHeaders in interface WsrmExchangeInfopublic boolean isValidExchange()
isValidExchange in interface WsrmExchangeInfopublic String getProblemsWithExchange()
getProblemsWithExchange in interface WsrmExchangeInfopublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||