站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

TemporaryDestMsg (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq.il.uil2.msgs
Class TemporaryDestMsg

java.lang.Object
  extended byorg.jboss.mq.il.uil2.msgs.BaseMsg
      extended byorg.jboss.mq.il.uil2.msgs.TemporaryDestMsg
All Implemented Interfaces:
Runnable

public class TemporaryDestMsg
extends BaseMsg

Version:
$Revision: 1.5 $
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.jboss.mq.il.uil2.msgs.BaseMsg
error, msgID, msgType
 
Constructor Summary
TemporaryDestMsg(boolean isQueue)
           
 
Method Summary
 javax.jms.TemporaryQueue getQueue()
           
 javax.jms.TemporaryTopic getTopic()
           
 void read(ObjectInputStream in)
          Read the hasError flag and optionally the error.
 void setDest(javax.jms.Destination dest)
           
 void write(ObjectOutputStream out)
          Write the msgType, msgID, hasError flag and optionally the error
 
Methods inherited from class org.jboss.mq.il.uil2.msgs.BaseMsg
createMsg, equals, getError, getMsgID, getMsgType, hashCode, run, setError, setHandler, setMsgID, setUseJMSServerMsgIDs, toString, toString, trimReply
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemporaryDestMsg

public TemporaryDestMsg(boolean isQueue)
Method Detail

getQueue

public javax.jms.TemporaryQueue getQueue()

getTopic

public javax.jms.TemporaryTopic getTopic()

setDest

public void setDest(javax.jms.Destination dest)

write

public void write(ObjectOutputStream out)
           throws IOException
Description copied from class: BaseMsg
Write the msgType, msgID, hasError flag and optionally the error

Overrides:
write in class BaseMsg
Parameters:
out -
Throws:
IOException

read

public void read(ObjectInputStream in)
          throws IOException,
                 ClassNotFoundException
Description copied from class: BaseMsg
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
Parameters:
in -
Throws:
ClassNotFoundException
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.