| java.lang.Object org.objectweb.celtix.bus.ws.rm.AbstractSequenceImpl org.objectweb.celtix.bus.ws.rm.SourceSequence
SourceSequence | public SourceSequence(Identifier i)(Code) | | |
SourceSequence | public SourceSequence(Identifier i, Date e, Identifier oi)(Code) | | |
SourceSequence | public SourceSequence(Identifier i, Date e, Identifier oi, BigInteger cmn, boolean lm)(Code) | | |
allAcknowledged | boolean allAcknowledged()(Code) | | Returns true if a last message had been sent for this sequence and if all
messages for this sequence have been acknowledged.
true if all messages have been acknowledged. |
getAcknowledgement | SequenceAcknowledgement getAcknowledgement()(Code) | | |
getEndpointIdentifier | public String getEndpointIdentifier()(Code) | | the identifier of the rm source |
getOfferingSequenceIdentifier | public Identifier getOfferingSequenceIdentifier()(Code) | | |
getTarget | synchronized org.objectweb.celtix.ws.addressing.EndpointReferenceType getTarget()(Code) | | |
isAcknowledged | boolean isAcknowledged(BigInteger m)(Code) | | Checks if the message with the given number has been acknowledged.
Parameters: m - the message number true of the message with the given number has been acknowledged. |
isExpired | boolean isExpired()(Code) | | Returns true if the sequence is expired.
true if the sequence is expired. |
isLastMessage | public boolean isLastMessage()(Code) | | |
nextAndLastMessageNumber | void nextAndLastMessageNumber()(Code) | | |
nextMessageNumber | BigInteger nextMessageNumber()(Code) | | Returns the next message number and increases the message number.
the next message number. |
nextMessageNumber | BigInteger nextMessageNumber(Identifier inSeqId, BigInteger inMsgNumber)(Code) | | Returns the next message number and increases the message number.
The parameters, if not null, indicate that this message is being sent as a response
to the message with the specified message number in the sequence specified by the
by the identifier, and are used to decide if this message should be the last in
this sequence.
the next message number. |
offeredBy | boolean offeredBy(Identifier sid)(Code) | | Returns true if this sequence was constructed from an offer for an inbound sequence
includes in the CreateSequenceRequest in response to which the sequence with
the specified identifier was created.
Parameters: id - the sequence identifier true if the sequence was constructed from an offer. |
setAcknowledged | void setAcknowledged(SequenceAcknowledgement acknowledgement)(Code) | | Used by the RM source to cache received acknowledgements for this
sequence.
Parameters: acknowledgement - an acknowledgement for this sequence |
setExpires | void setExpires(Expires ex)(Code) | | |
setLastMessage | void setLastMessage(boolean lm)(Code) | | |
setTarget | synchronized void setTarget(org.objectweb.celtix.ws.addressing.EndpointReferenceType to)(Code) | | The target for the sequence is the first non-anonymous address that
a message is sent to as part of this sequence. It is subsequently used
for as the target of out-of-band protocol messages related to that
sequence that originate from the sequnce source (i.e. TerminateSequence
and LastMessage, but not AckRequested or SequenceAcknowledgement as these
are orignate from the sequence destination).
Parameters: to - |
Fields inherited from org.objectweb.celtix.bus.ws.rm.AbstractSequenceImpl | final protected Identifier id(Code)(Java Doc)
|
|
|