|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.wsrm.storage.impl.WsrmSequenceInfoImpl
public class WsrmSequenceInfoImpl
This interface encapsulates information pertaining to a sequence. These
include,
(a) Its creation date
(b) Its Sequence Identifier and the addressing identifier
(c) The addressing identifier associated with the sequence creation
request. The addressing identifier is different for different messages in
a sequence. But sequence creation requests and responses, acknowledgement
on the last message in a sequence, and finally the termination of a
sequence all carry the same addressing identifier.
| Constructor Summary | |
|---|---|
WsrmSequenceInfoImpl(byte[] marshalledBytes)
|
|
WsrmSequenceInfoImpl(Date creationDate,
String sequenceIdentifier,
String addressingIdentifier,
EndpointReferenceType source,
EndpointReferenceType destination,
boolean isSource)
|
|
| Method Summary | |
|---|---|
String |
getAddressingIdentifier()
Retrieve the addressing identifier. |
byte[] |
getBytes()
Get a byte representation of the WsrmSequenceInfo |
Date |
getCreationDate()
Retrieve the creation date for the sequence |
EndpointReferenceType |
getDestination()
Returns the destination of this sequence |
long |
getLastMessageNumber()
If we do have information regarding the last message of a sequence, proceed to retrieve it |
String |
getSequenceIdentifier()
Retrieve the sequence identifier. |
EndpointReferenceType |
getSource()
Returns the source of this sequence |
String |
getTerminationReason()
Get the reason for termination |
long |
getTerminationTimestamp()
Retrieve the termination timestamp |
long |
getTimeOfLastActivity()
Retrieve the time associated with the last activity |
long |
getTimeoutTimestamp()
Retrieve the timeout timestamp |
WsrmSequencePolicies |
getWsrmSequencePolicies()
|
boolean |
hasLastMessageInfo()
Check to see if we have information regarding the last message of a sequence. |
boolean |
hasWsrmSequencePolicies()
Check if there is a policy attachment |
boolean |
isDestination()
Checks if this node is the destination of the sequence in question |
boolean |
isExpired()
Checks to see if the sequence has expired |
boolean |
isSource()
Checks if this node is the source of the sequence in question |
boolean |
isTerminated()
Check to see if the sequence is terminated |
boolean |
isTimedOut()
Checks to see if the sequence is timed out |
void |
setExpired()
|
void |
setLastMessageNumber(long lastMessageNumber)
|
void |
setTermination(String reason)
|
void |
setTimedOut()
|
void |
setTimeOfLastActivity(long timeOfLastActivity)
|
void |
setWsrmSequencePolicies(WsrmSequencePolicies wsrmSequencePolicies)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsrmSequenceInfoImpl(Date creationDate,
String sequenceIdentifier,
String addressingIdentifier,
EndpointReferenceType source,
EndpointReferenceType destination,
boolean isSource)
public WsrmSequenceInfoImpl(byte[] marshalledBytes)
| Method Detail |
|---|
public Date getCreationDate()
getCreationDate in interface WsrmSequenceInfopublic String getSequenceIdentifier()
getSequenceIdentifier in interface WsrmSequenceInfopublic String getAddressingIdentifier()
getAddressingIdentifier in interface WsrmSequenceInfopublic EndpointReferenceType getSource()
getSource in interface WsrmSequenceInfopublic EndpointReferenceType getDestination()
getDestination in interface WsrmSequenceInfopublic boolean isSource()
isSource in interface WsrmSequenceInfopublic boolean isDestination()
isDestination in interface WsrmSequenceInfopublic boolean hasWsrmSequencePolicies()
hasWsrmSequencePolicies in interface WsrmSequenceInfopublic WsrmSequencePolicies getWsrmSequencePolicies()
getWsrmSequencePolicies in interface WsrmSequenceInfopublic void setWsrmSequencePolicies(WsrmSequencePolicies wsrmSequencePolicies)
public boolean hasLastMessageInfo()
hasLastMessageInfo in interface WsrmSequenceInfopublic long getLastMessageNumber()
getLastMessageNumber in interface WsrmSequenceInfopublic void setLastMessageNumber(long lastMessageNumber)
public boolean isExpired()
isExpired in interface WsrmSequenceInfopublic void setExpired()
public boolean isTimedOut()
isTimedOut in interface WsrmSequenceInfopublic long getTimeOfLastActivity()
getTimeOfLastActivity in interface WsrmSequenceInfopublic void setTimeOfLastActivity(long timeOfLastActivity)
public void setTimedOut()
public long getTimeoutTimestamp()
getTimeoutTimestamp in interface WsrmSequenceInfopublic boolean isTerminated()
isTerminated in interface WsrmSequenceInfopublic long getTerminationTimestamp()
getTerminationTimestamp in interface WsrmSequenceInfopublic String getTerminationReason()
getTerminationReason in interface WsrmSequenceInfopublic void setTermination(String reason)
public byte[] getBytes()
getBytes in interface WsrmSequenceInfopublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||