|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.ws.rm.AbstractSequence org.apache.cxf.ws.rm.SourceSequence
public class SourceSequence
Field Summary |
---|
Fields inherited from class org.apache.cxf.ws.rm.AbstractSequence |
---|
acknowledgement, id |
Constructor Summary | |
---|---|
SourceSequence(Identifier i,
Date e,
Identifier oi,
long cmn,
boolean lm,
ProtocolVariation pv)
|
|
SourceSequence(Identifier i,
Date e,
Identifier oi,
ProtocolVariation pv)
|
|
SourceSequence(Identifier i,
ProtocolVariation pv)
|
Method Summary | |
---|---|
boolean |
allAcknowledged()
Returns true if a last message had been sent for this sequence and if all messages for this sequence have been acknowledged. |
long |
getCurrentMessageNr()
|
String |
getEndpointIdentifier()
|
Date |
getExpires()
|
Identifier |
getOfferingSequenceIdentifier()
|
Source |
getSource()
Returns the source associated with this source sequence. |
boolean |
isLastMessage()
|
boolean |
needAcknowledge(long num)
Returns true if any messages other than the number supplied are waiting for acknowledgment. |
long |
nextMessageNumber(Identifier inSeqId,
long inMsgNumber,
boolean last)
Returns the next message number and increases the message number. |
boolean |
offeredBy(Identifier sid)
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. |
void |
setAcknowledged(SequenceAcknowledgement a)
Used by the RM source to cache received acknowledgements for this sequence. |
void |
setExpires(Expires ex)
|
Methods inherited from class org.apache.cxf.ws.rm.AbstractSequence |
---|
equals, getIdentifier, getProtocol, hashCode, identifierEquals, isAcknowledged, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SourceSequence(Identifier i, ProtocolVariation pv)
public SourceSequence(Identifier i, Date e, Identifier oi, ProtocolVariation pv)
public SourceSequence(Identifier i, Date e, Identifier oi, long cmn, boolean lm, ProtocolVariation pv)
Method Detail |
---|
public long getCurrentMessageNr()
public boolean isLastMessage()
public Identifier getOfferingSequenceIdentifier()
public String getEndpointIdentifier()
public Date getExpires()
public boolean offeredBy(Identifier sid)
id
- the sequence identifier
public boolean needAcknowledge(long num)
num
- message number to check
public boolean allAcknowledged()
public void setAcknowledged(SequenceAcknowledgement a) throws RMException
acknowledgement
- an acknowledgement for this sequence
RMException
public Source getSource()
public void setExpires(Expires ex)
public long nextMessageNumber(Identifier inSeqId, long inMsgNumber, boolean last)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |