01: package org.objectweb.celtix.ws.rm.persistence;
02:
03: import java.io.InputStream;
04: import java.math.BigInteger;
05:
06: import javax.xml.ws.handler.MessageContext;
07:
08: public interface RMMessage {
09:
10: /**
11: * @return the message number of the message within its sequence.
12: */
13: BigInteger getMessageNr();
14:
15: /**
16: * @return the message context of this message.
17: */
18: MessageContext getContext();
19:
20: /**
21: * @return the message context of this message as an input stream.
22: */
23: InputStream getContextAsStream();
24:
25: }
|