KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.celtix.ws.rm.persistence;
2
3 import java.math.BigInteger JavaDoc;
4 import java.util.Date JavaDoc;
5
6 import org.objectweb.celtix.ws.rm.Identifier;
7
8 public interface RMSourceSequence {
9     
10     /**
11      * @return the sequence identifier
12      */

13     Identifier getIdentifier();
14     
15     /**
16      * @return the message number assigned to the most recent outgoing application message.
17      */

18     BigInteger JavaDoc getCurrentMessageNr();
19     
20     /**
21      * @return true if the last message had been sent for this sequence.
22      */

23     boolean isLastMessage();
24     
25     /**
26      * @return the identifier of the sequence that was created on behalf of the CreateSequence request
27      * that included this sequence as an offer
28      */

29     Identifier getOfferingSequenceIdentifier();
30     
31     /**
32      * @return the identifier of the rm source
33      */

34     String JavaDoc getEndpointIdentifier();
35     
36     /**
37      * @return the expiry data of this sequence
38      */

39     Date JavaDoc getExpiry();
40 }
41
Popular Tags