KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > ws > rm > persistence > RMDestinationSequence


1 package org.objectweb.celtix.ws.rm.persistence;
2
3 import java.io.InputStream JavaDoc;
4 import java.math.BigInteger JavaDoc;
5
6 import org.objectweb.celtix.ws.addressing.v200408.EndpointReferenceType;
7 import org.objectweb.celtix.ws.rm.Identifier;
8 import org.objectweb.celtix.ws.rm.SequenceAcknowledgement;
9
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 JavaDoc 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 JavaDoc getAcknowledgmentAsStream();
37     
38     /**
39      * @return the identifier of the rm destination
40      */

41     String JavaDoc getEndpointIdentifier();
42     
43     
44 }
45
Popular Tags