org.jboss.jms.wireformat
Class ConnectionFactoryUpdate

java.lang.Object
  extended byorg.jboss.jms.wireformat.PacketSupport
      extended byorg.jboss.jms.wireformat.CallbackSupport
          extended byorg.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: 2304 $ $Id: ConnectionFactoryUpdate.java 2304 2007-02-13 23:43:15Z 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_CREATECONNECTIONDELEGATE, REQ_CONNECTIONFACTORY_GETCLIENTAOPSTACK, REQ_CONNECTIONFACTORY_GETIDBLOCK, 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_SESSION_CREATEBROWSERDELEGATE, RESP_SESSION_CREATECONSUMERDELEGATE, RESP_SESSION_CREATEQUEUE, RESP_SESSION_CREATETOPIC, SERIALIZED
 
Constructor Summary
ConnectionFactoryUpdate()
           
ConnectionFactoryUpdate(ClientConnectionFactoryDelegate[] delegates, java.util.Map failoverMap)
           
 
Method Summary
 ClientConnectionFactoryDelegate[] getDelegates()
           
 java.util.Map getFailoverMap()
           
 void read(java.io.DataInputStream is)
           
 void setDelegates(ClientConnectionFactoryDelegate[] delegates)
           
 void setFailoverMap(java.util.Map failoverMap)
           
 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(ClientConnectionFactoryDelegate[] delegates,
                               java.util.Map failoverMap)

ConnectionFactoryUpdate

public ConnectionFactoryUpdate()
Method Detail

getDelegates

public ClientConnectionFactoryDelegate[] getDelegates()

setDelegates

public void setDelegates(ClientConnectionFactoryDelegate[] delegates)

getFailoverMap

public java.util.Map getFailoverMap()

setFailoverMap

public void setFailoverMap(java.util.Map failoverMap)

toString

public java.lang.String toString()

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.