|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.narada.wsinfra.wsrm.storage.impl.WsrmStorageWidgetImpl
public class WsrmStorageWidgetImpl
The WSRM storage widget encapsulates the WSRM message that was either sent or received. The storage widget contains other information which is useful for querying purposes. Finally, the widget also keeps track of whether a message was acknowledged or if an acknowledgement was sent for the message in question.
Constructor Summary | |
---|---|
WsrmStorageWidgetImpl(byte[] marshalledBytes)
|
|
WsrmStorageWidgetImpl(String sequenceIdentifier,
long messageNumber,
boolean acknowledgementInfo,
long ackTimestampInfo,
EnvelopeDocument envelopeDocument)
|
Method Summary | |
---|---|
boolean |
getAcknowledgementInfo()
Retrieve the acknowledgement info |
long |
getAckTimestampInfo()
Retrieve the timestamp associated with this storage widget. |
byte[] |
getBytes()
Gets a serialized representation of the message |
EnvelopeDocument |
getEnvelope()
Get the original Envelope associated with the message |
long |
getMessageNumber()
Gets the message number associated with the message |
String |
getSequenceIdentifier()
Get the sequence identifier associated with the messsage |
void |
resetAckTimestampInfo(long interval)
Reset the ackInterval to the value specified in specified in the method parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsrmStorageWidgetImpl(String sequenceIdentifier, long messageNumber, boolean acknowledgementInfo, long ackTimestampInfo, EnvelopeDocument envelopeDocument)
public WsrmStorageWidgetImpl(byte[] marshalledBytes)
Method Detail |
---|
public boolean getAcknowledgementInfo()
getAcknowledgementInfo
in interface WsrmStorageWidget
public long getAckTimestampInfo()
getAckTimestampInfo
in interface WsrmStorageWidget
public void resetAckTimestampInfo(long interval)
resetAckTimestampInfo
in interface WsrmStorageWidget
public String getSequenceIdentifier()
getSequenceIdentifier
in interface WsrmStorageWidget
public long getMessageNumber()
getMessageNumber
in interface WsrmStorageWidget
public EnvelopeDocument getEnvelope()
getEnvelope
in interface WsrmStorageWidget
public byte[] getBytes()
getBytes
in interface WsrmStorageWidget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |