org.jboss.jms.wireformat
Class ConnectionFactoryUpdate

java.lang.Object
  extended by org.jboss.jms.wireformat.PacketSupport
      extended by org.jboss.jms.wireformat.CallbackSupport
          extended by org.jboss.jms.wireformat.ConnectionFactoryUpdate
All Implemented Interfaces:
Streamable

public class ConnectionFactoryUpdate
extends CallbackSupport

This class holds the update cluster view sent by the server to client-side clustered connection factories.

Version:
$Revision: 3019 $ $Id: ConnectionFactoryUpdate.java 3019 2007-08-21 04:19:48Z clebert.suconic@jboss.com $
Author:
Clebert Suconic, Tim Fox

Field Summary
 
Fields inherited from class org.jboss.jms.wireformat.PacketSupport
CLIENT_DELIVERY, CONNECTIONFACTORY_UPDATE, methodId, NULL_RESPONSE, ONE_WAY_METADATA, POLLEDCALLBACKS_DELIVERY, REQ_BROWSER_HASNEXTMESSAGE, REQ_BROWSER_NEXTMESSAGE, REQ_BROWSER_NEXTMESSAGEBLOCK, REQ_BROWSER_RESET, REQ_CLOSE, REQ_CLOSING, REQ_CONNECTION_CREATESESSIONDELEGATE, REQ_CONNECTION_GETCLIENTID, REQ_CONNECTION_GETPREPAREDTRANSACTIONS, REQ_CONNECTION_SENDTRANSACTION, REQ_CONNECTION_SETCLIENTID, REQ_CONNECTION_START, REQ_CONNECTION_STOP, REQ_CONNECTIONFACTORY_ADDCALLBACK, REQ_CONNECTIONFACTORY_CREATECONNECTIONDELEGATE, REQ_CONNECTIONFACTORY_GETCLIENTAOPSTACK, REQ_CONNECTIONFACTORY_GETIDBLOCK, REQ_CONNECTIONFACTORY_GETTOPOLOGY, REQ_CONNECTIONFACTORY_REMOVECALLBACK, REQ_CONSUMER_CHANGERATE, REQ_SESSION_ACKNOWLEDGEDELIVERIES, REQ_SESSION_ACKNOWLEDGEDELIVERY, REQ_SESSION_ADDTEMPORARYDESTINATION, REQ_SESSION_CANCELDELIVERIES, REQ_SESSION_CANCELDELIVERY, REQ_SESSION_CREATEBROWSERDELEGATE, REQ_SESSION_CREATECONSUMERDELEGATE, REQ_SESSION_CREATEQUEUE, REQ_SESSION_CREATETOPIC, REQ_SESSION_DELETETEMPORARYDESTINATION, REQ_SESSION_RECOVERDELIVERIES, REQ_SESSION_SEND, REQ_SESSION_UNSUBSCRIBE, RESP_BROWSER_HASNEXTMESSAGE, RESP_BROWSER_NEXTMESSAGE, RESP_BROWSER_NEXTMESSAGEBLOCK, RESP_CLOSING, RESP_CONNECTION_CREATESESSIONDELEGATE, RESP_CONNECTION_GETCLIENTID, RESP_CONNECTION_GETPREPAREDTRANSACTIONS, RESP_CONNECTIONFACTORY_CREATECONNECTIONDELEGATE, RESP_CONNECTIONFACTORY_GETCLIENTAOPSTACK, RESP_CONNECTIONFACTORY_GETIDBLOCK, RESP_CONNECTIONFACTORY_GETTOPOLOGY, RESP_SESSION_ACKNOWLEDGEDELIVERY, RESP_SESSION_CREATEBROWSERDELEGATE, RESP_SESSION_CREATECONSUMERDELEGATE, RESP_SESSION_CREATEQUEUE, RESP_SESSION_CREATETOPIC, SERIALIZED
 
Constructor Summary
ConnectionFactoryUpdate()
           
ConnectionFactoryUpdate(java.lang.String uniqueName, ClientConnectionFactoryDelegate[] delegates, java.util.Map failoverMap)
           
 
Method Summary
 TopologyResult getTopology()
           
 void read(java.io.DataInputStream is)
           
 void setTopology(TopologyResult topology)
           
 java.lang.String toString()
           
 void write(java.io.DataOutputStream os)
           
 
Methods inherited from class org.jboss.jms.wireformat.CallbackSupport
getPayload
 
Methods inherited from class org.jboss.jms.wireformat.PacketSupport
createPacket, readNullableString, writeNullableString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionFactoryUpdate

public ConnectionFactoryUpdate(java.lang.String uniqueName,
                               ClientConnectionFactoryDelegate[] delegates,
                               java.util.Map failoverMap)

ConnectionFactoryUpdate

public ConnectionFactoryUpdate()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTopology

public TopologyResult getTopology()

setTopology

public void setTopology(TopologyResult topology)

read

public void read(java.io.DataInputStream is)
          throws java.lang.Exception
Specified by:
read in interface Streamable
Specified by:
read in class PacketSupport
Throws:
java.lang.Exception

write

public void write(java.io.DataOutputStream os)
           throws java.lang.Exception
Specified by:
write in interface Streamable
Overrides:
write in class PacketSupport
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.