01: package org.objectweb.celtix.ws.rm.persistence;
02:
03: import java.io.InputStream;
04: import java.math.BigInteger;
05:
06: import org.objectweb.celtix.ws.addressing.v200408.EndpointReferenceType;
07: import org.objectweb.celtix.ws.rm.Identifier;
08: import org.objectweb.celtix.ws.rm.SequenceAcknowledgement;
09:
10: public interface RMDestinationSequence {
11:
12: /**
13: * @return the sequence identifier
14: */
15: Identifier getIdentifier();
16:
17: /**
18: * @return the acksTo address for the sequence
19: */
20: EndpointReferenceType getAcksTo();
21:
22: /**
23: * @return the message number of the last message or null if the last message had not been received.
24: */
25: BigInteger getLastMessageNr();
26:
27: /**
28: * @return the sequence acknowledgement presenting the sequences thus far received by a destination
29: */
30: SequenceAcknowledgement getAcknowledgment();
31:
32: /**
33: * @return the sequence acknowledgement presenting the sequences thus far received by a destination
34: * as an input stream
35: */
36: InputStream getAcknowledgmentAsStream();
37:
38: /**
39: * @return the identifier of the rm destination
40: */
41: String getEndpointIdentifier();
42:
43: }
|