org.jboss.mq.il.uil2.msgs
Class AcknowledgementRequestMsg
java.lang.Object
org.jboss.mq.il.uil2.msgs.BaseMsg (src)
org.jboss.mq.il.uil2.msgs.AcknowledgementRequestMsg
- All Implemented Interfaces:
- java.lang.Runnable
- public class AcknowledgementRequestMsg
- extends BaseMsg (src)
Method Summary |
AcknowledgementRequest (src) |
getAck()
|
void |
read(java.io.ObjectInputStream in)
Read the hasError flag and optionally the error. |
void |
trimReply()
Trim the message when replying |
void |
write(java.io.ObjectOutputStream out)
Write the msgType, msgID, hasError flag and optionally the error |
Methods inherited from class org.jboss.mq.il.uil2.msgs.BaseMsg (src) |
createMsg, equals, getError, getMsgID, getMsgType, hashCode, run, setError, setHandler, setMsgID, setUseJMSServerMsgIDs, toString, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AcknowledgementRequestMsg
public AcknowledgementRequestMsg()
AcknowledgementRequestMsg
public AcknowledgementRequestMsg(AcknowledgementRequest (src) item)
getAck
public AcknowledgementRequest (src) getAck()
trimReply
public void trimReply()
- Description copied from class:
BaseMsg (src)
- Trim the message when replying
- Overrides:
trimReply
in class BaseMsg (src)
write
public void write(java.io.ObjectOutputStream out)
throws java.io.IOException
- Description copied from class:
BaseMsg (src)
- Write the msgType, msgID, hasError flag and optionally the error
- Overrides:
write
in class BaseMsg (src)
- Parameters:
out
-
- Throws:
java.io.IOException
read
public void read(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from class:
BaseMsg (src)
- Read the hasError flag and optionally the error. This method is not
a complete analog of write because the SocketManager read task reads
the msgType and msgID off of the socket.
- Overrides:
read
in class BaseMsg (src)
- Parameters:
in
-
- Throws:
java.lang.ClassNotFoundException
java.io.IOException