org.jboss.jms.wireformat
Class PacketSupport
java.lang.Object
org.jboss.jms.wireformat.PacketSupport
- All Implemented Interfaces:
- Streamable
- Direct Known Subclasses:
- CallbackSupport, PolledCallbacksDelivery, RequestSupport, ResponseSupport, SerializedPacket
- public abstract class PacketSupport
- extends java.lang.Object
- implements Streamable
A PacketSupport
- Version:
- $Revision: 2507 $
$Id: PacketSupport.java 2507 2007-02-28 23:46:51Z timfox $
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ONE_WAY_METADATA
protected static java.util.Map ONE_WAY_METADATA
SERIALIZED
public static final int SERIALIZED
- See Also:
- Constant Field Values
CLIENT_DELIVERY
public static final int CLIENT_DELIVERY
- See Also:
- Constant Field Values
CONNECTIONFACTORY_UPDATE
public static final int CONNECTIONFACTORY_UPDATE
- See Also:
- Constant Field Values
POLLEDCALLBACKS_DELIVERY
public static final int POLLEDCALLBACKS_DELIVERY
- See Also:
- Constant Field Values
REQ_CONNECTIONFACTORY_CREATECONNECTIONDELEGATE
public static final int REQ_CONNECTIONFACTORY_CREATECONNECTIONDELEGATE
- See Also:
- Constant Field Values
REQ_CONNECTIONFACTORY_GETIDBLOCK
public static final int REQ_CONNECTIONFACTORY_GETIDBLOCK
- See Also:
- Constant Field Values
REQ_CONNECTIONFACTORY_GETCLIENTAOPSTACK
public static final int REQ_CONNECTIONFACTORY_GETCLIENTAOPSTACK
- See Also:
- Constant Field Values
REQ_CONNECTION_CREATESESSIONDELEGATE
public static final int REQ_CONNECTION_CREATESESSIONDELEGATE
- See Also:
- Constant Field Values
REQ_CONNECTION_GETCLIENTID
public static final int REQ_CONNECTION_GETCLIENTID
- See Also:
- Constant Field Values
REQ_CONNECTION_SETCLIENTID
public static final int REQ_CONNECTION_SETCLIENTID
- See Also:
- Constant Field Values
REQ_CONNECTION_START
public static final int REQ_CONNECTION_START
- See Also:
- Constant Field Values
REQ_CONNECTION_STOP
public static final int REQ_CONNECTION_STOP
- See Also:
- Constant Field Values
REQ_CONNECTION_SENDTRANSACTION
public static final int REQ_CONNECTION_SENDTRANSACTION
- See Also:
- Constant Field Values
REQ_CONNECTION_GETPREPAREDTRANSACTIONS
public static final int REQ_CONNECTION_GETPREPAREDTRANSACTIONS
- See Also:
- Constant Field Values
REQ_SESSION_CREATECONSUMERDELEGATE
public static final int REQ_SESSION_CREATECONSUMERDELEGATE
- See Also:
- Constant Field Values
REQ_SESSION_CREATEBROWSERDELEGATE
public static final int REQ_SESSION_CREATEBROWSERDELEGATE
- See Also:
- Constant Field Values
REQ_SESSION_CREATEQUEUE
public static final int REQ_SESSION_CREATEQUEUE
- See Also:
- Constant Field Values
REQ_SESSION_CREATETOPIC
public static final int REQ_SESSION_CREATETOPIC
- See Also:
- Constant Field Values
REQ_SESSION_ACKNOWLEDGEDELIVERIES
public static final int REQ_SESSION_ACKNOWLEDGEDELIVERIES
- See Also:
- Constant Field Values
REQ_SESSION_ACKNOWLEDGEDELIVERY
public static final int REQ_SESSION_ACKNOWLEDGEDELIVERY
- See Also:
- Constant Field Values
REQ_SESSION_CANCELDELIVERIES
public static final int REQ_SESSION_CANCELDELIVERIES
- See Also:
- Constant Field Values
REQ_SESSION_CANCELDELIVERY
public static final int REQ_SESSION_CANCELDELIVERY
- See Also:
- Constant Field Values
REQ_SESSION_ADDTEMPORARYDESTINATION
public static final int REQ_SESSION_ADDTEMPORARYDESTINATION
- See Also:
- Constant Field Values
REQ_SESSION_DELETETEMPORARYDESTINATION
public static final int REQ_SESSION_DELETETEMPORARYDESTINATION
- See Also:
- Constant Field Values
REQ_SESSION_UNSUBSCRIBE
public static final int REQ_SESSION_UNSUBSCRIBE
- See Also:
- Constant Field Values
REQ_SESSION_SEND
public static final int REQ_SESSION_SEND
- See Also:
- Constant Field Values
REQ_SESSION_RECOVERDELIVERIES
public static final int REQ_SESSION_RECOVERDELIVERIES
- See Also:
- Constant Field Values
REQ_CONSUMER_CHANGERATE
public static final int REQ_CONSUMER_CHANGERATE
- See Also:
- Constant Field Values
REQ_BROWSER_NEXTMESSAGE
public static final int REQ_BROWSER_NEXTMESSAGE
- See Also:
- Constant Field Values
REQ_BROWSER_HASNEXTMESSAGE
public static final int REQ_BROWSER_HASNEXTMESSAGE
- See Also:
- Constant Field Values
REQ_BROWSER_NEXTMESSAGEBLOCK
public static final int REQ_BROWSER_NEXTMESSAGEBLOCK
- See Also:
- Constant Field Values
REQ_BROWSER_RESET
public static final int REQ_BROWSER_RESET
- See Also:
- Constant Field Values
REQ_CLOSING
public static final int REQ_CLOSING
- See Also:
- Constant Field Values
REQ_CLOSE
public static final int REQ_CLOSE
- See Also:
- Constant Field Values
NULL_RESPONSE
public static final int NULL_RESPONSE
- See Also:
- Constant Field Values
RESP_CONNECTIONFACTORY_CREATECONNECTIONDELEGATE
public static final int RESP_CONNECTIONFACTORY_CREATECONNECTIONDELEGATE
- See Also:
- Constant Field Values
RESP_CONNECTIONFACTORY_GETIDBLOCK
public static final int RESP_CONNECTIONFACTORY_GETIDBLOCK
- See Also:
- Constant Field Values
RESP_CONNECTIONFACTORY_GETCLIENTAOPSTACK
public static final int RESP_CONNECTIONFACTORY_GETCLIENTAOPSTACK
- See Also:
- Constant Field Values
RESP_CONNECTION_CREATESESSIONDELEGATE
public static final int RESP_CONNECTION_CREATESESSIONDELEGATE
- See Also:
- Constant Field Values
RESP_CONNECTION_GETCLIENTID
public static final int RESP_CONNECTION_GETCLIENTID
- See Also:
- Constant Field Values
RESP_CONNECTION_GETPREPAREDTRANSACTIONS
public static final int RESP_CONNECTION_GETPREPAREDTRANSACTIONS
- See Also:
- Constant Field Values
RESP_SESSION_CREATECONSUMERDELEGATE
public static final int RESP_SESSION_CREATECONSUMERDELEGATE
- See Also:
- Constant Field Values
RESP_SESSION_CREATEBROWSERDELEGATE
public static final int RESP_SESSION_CREATEBROWSERDELEGATE
- See Also:
- Constant Field Values
RESP_SESSION_CREATEQUEUE
public static final int RESP_SESSION_CREATEQUEUE
- See Also:
- Constant Field Values
RESP_SESSION_CREATETOPIC
public static final int RESP_SESSION_CREATETOPIC
- See Also:
- Constant Field Values
RESP_BROWSER_NEXTMESSAGE
public static final int RESP_BROWSER_NEXTMESSAGE
- See Also:
- Constant Field Values
RESP_BROWSER_HASNEXTMESSAGE
public static final int RESP_BROWSER_HASNEXTMESSAGE
- See Also:
- Constant Field Values
RESP_BROWSER_NEXTMESSAGEBLOCK
public static final int RESP_BROWSER_NEXTMESSAGEBLOCK
- See Also:
- Constant Field Values
RESP_CLOSING
public static final int RESP_CLOSING
- See Also:
- Constant Field Values
methodId
protected int methodId
PacketSupport
public PacketSupport()
PacketSupport
public PacketSupport(int methodID)
createPacket
public static PacketSupport createPacket(int id)
getPayload
public java.lang.Object getPayload()
write
public void write(java.io.DataOutputStream os)
throws java.lang.Exception
- Specified by:
write
in interface Streamable
- Throws:
java.lang.Exception
read
public abstract void read(java.io.DataInputStream is)
throws java.lang.Exception
- Specified by:
read
in interface Streamable
- Throws:
java.lang.Exception
writeNullableString
protected void writeNullableString(java.lang.String s,
java.io.DataOutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
readNullableString
protected java.lang.String readNullableString(java.io.DataInputStream is)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.