org.systinet.wasp.wsrm.sequence
Interface Sequence

All Known Subinterfaces:
DuplexSequence, InputSequence, OneWaySequence, OutputSequence

public interface Sequence

Ancestor of all kind of sequences. There are three kind of sequences: OutputSequences, InputSequences and DuplexSequences.

Since:
SSJ 6.5
Component:
WS Reliable Messaging Interfaces

Method Summary
 java.lang.String getID()
          Gets the application id of this sequence.
 void setExpires(java.util.Date date)
          Sets the point in time at which this sequence will expire.
 

Method Detail

getID

public java.lang.String getID()
Gets the application id of this sequence. For DuplexSequences, the sequence as well as its sub-sequences share the same application id; otherwise this id is unique for all sequences.

Returns:
sequence application id.

setExpires

public void setExpires(java.util.Date date)
                throws SequenceException
Sets the point in time at which this sequence will expire. You can change the expiration time prior to sending any message in the sequence, afterwards not.
Please note that