01: package org.objectweb.celtix.ws.rm.persistence;
02:
03: import java.math.BigInteger;
04: import java.util.Date;
05:
06: import org.objectweb.celtix.ws.rm.Identifier;
07:
08: public interface RMSourceSequence {
09:
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 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 getEndpointIdentifier();
35:
36: /**
37: * @return the expiry data of this sequence
38: */
39: Date getExpiry();
40: }
|