|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the operations available for all types of messages.
Field Summary | |
static int |
MESSAGE_TYPE_ANS
BEEP ANS message. |
static int |
MESSAGE_TYPE_ERR
BEEP ERR message. |
static int |
MESSAGE_TYPE_MSG
BEEP MSG message. |
static int |
MESSAGE_TYPE_NUL
BEEP NUL message. |
static int |
MESSAGE_TYPE_RPY
BEEP RPY message. |
static int |
MESSAGE_TYPE_UNK
Uninitialized Message . |
Method Summary | |
int |
getAnsno()
Returns the answer number of this Message . |
Channel |
getChannel()
Returns the Channel on which this Message
was received. |
InputDataStream |
getDataStream()
Returns InputDataStream containing the payload for this
Message . |
int |
getMessageType()
Returns the message type of this Message . |
int |
getMsgno()
Returns the message number of this Message . |
MessageStatus |
sendANS(OutputDataStream stream)
Deprecated. use method on MessageMSG instead. |
MessageStatus |
sendERR(BEEPError error)
Deprecated. use method on MessageMSG instead. |
MessageStatus |
sendERR(int code,
java.lang.String diagnostic)
Deprecated. use method on MessageMSG instead. |
MessageStatus |
sendERR(int code,
java.lang.String diagnostic,
java.lang.String xmlLang)
Deprecated. use method on MessageMSG instead. |
MessageStatus |
sendNUL()
Deprecated. use method on MessageMSG instead. |
MessageStatus |
sendRPY(OutputDataStream stream)
Deprecated. use method on MessageMSG instead. |
Field Detail |
public static final int MESSAGE_TYPE_UNK
Message
.
public static final int MESSAGE_TYPE_MSG
public static final int MESSAGE_TYPE_RPY
public static final int MESSAGE_TYPE_ERR
public static final int MESSAGE_TYPE_ANS
public static final int MESSAGE_TYPE_NUL
Method Detail |
public InputDataStream getDataStream()
InputDataStream
containing the payload for this
Message
.
InputDataStream
public Channel getChannel()
Channel
on which this Message
was received.
Channel
public int getMsgno()
Message
.
public int getAnsno()
Message
.
public int getMessageType()
Message
.
public MessageStatus sendANS(OutputDataStream stream) throws BEEPException
BEEPException
public MessageStatus sendERR(BEEPError error) throws BEEPException
BEEPException
public MessageStatus sendERR(int code, java.lang.String diagnostic) throws BEEPException
BEEPException
public MessageStatus sendERR(int code, java.lang.String diagnostic, java.lang.String xmlLang) throws BEEPException
BEEPException
public MessageStatus sendNUL() throws BEEPException
BEEPException
public MessageStatus sendRPY(OutputDataStream stream) throws BEEPException
BEEPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |