Package com.webmethods.jms.protocol
Interface Reply
-
- All Known Implementing Classes:
AsciiProtocolHandler.AsciiReply
,BinaryProtocolHandler.BinaryProtocol
public interface Reply
-
-
Field Summary
Fields Modifier and Type Field Description static int
REPLY_ERROR
static int
REPLY_EVENT
static int
REPLY_KEEP_ALIVE
static int
REPLY_RESULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getError()
Get the reply error.WmMessageImpl
getMessage()
Get the message to which this reply belongs.int
getMessageCount()
Returns the reply's message count if this reply is a message.int
getRequestID()
Get the request ID to which this reply belongs.int
getSessionID()
Get the session ID to which this reply belongs.int
getType()
Get the reply type.
-
-
-
Field Detail
-
REPLY_RESULT
static final int REPLY_RESULT
- See Also:
- Constant Field Values
-
REPLY_ERROR
static final int REPLY_ERROR
- See Also:
- Constant Field Values
-
REPLY_EVENT
static final int REPLY_EVENT
- See Also:
- Constant Field Values
-
REPLY_KEEP_ALIVE
static final int REPLY_KEEP_ALIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessionID
int getSessionID()
Get the session ID to which this reply belongs.- Returns:
- the session ID to which this reply belongs
-
getRequestID
int getRequestID()
Get the request ID to which this reply belongs.- Returns:
- the request ID to which this reply belongs
-
getType
int getType()
Get the reply type.- Returns:
- the reply type
-
getError
int getError()
Get the reply error.- Returns:
- the reply error
-
getMessageCount
int getMessageCount()
Returns the reply's message count if this reply is a message.- Returns:
- the reply's message count
-
getMessage
WmMessageImpl getMessage()
Get the message to which this reply belongs.- Returns:
- the message to which this reply belongs.
-
-