Class TopicTcpConnectionFactory
- java.lang.Object
-
- org.objectweb.joram.client.jms.admin.AdministeredObject
-
- org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
-
- org.objectweb.joram.client.jms.TopicConnectionFactory
-
- org.objectweb.joram.client.jms.tcp.TopicTcpConnectionFactory
-
- All Implemented Interfaces:
Serializable,ConnectionFactory,TopicConnectionFactory,Referenceable
public class TopicTcpConnectionFactory extends TopicConnectionFactory
Deprecated.Replaced next to Joram 5.2.1 by TcpConnectionFactory.ATopicTcpConnectionFactoryinstance is a factory of TCP connections for Pub/Sub communication.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDDeprecated.define serialVersionUID for interoperability-
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
identity, identityClassName, params, reliableClass
-
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
rand
-
-
Constructor Summary
Constructors Modifier Constructor Description TopicTcpConnectionFactory()Deprecated.Constructs an emptyTopicTcpConnectionFactoryinstance.privateTopicTcpConnectionFactory(String host, int port)Deprecated.Constructs aTopicTcpConnectionFactoryinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TopicConnectionFactorycreate()Deprecated.Admin method creating ajavax.jms.TopicConnectionFactoryinstance for creating TCP connections with the default server.static TopicConnectionFactorycreate(String host, int port)Deprecated.Admin method creating ajavax.jms.TopicConnectionFactoryinstance for creating TCP connections with a given server.static TopicConnectionFactorycreate(String host, int port, String reliableClass)Deprecated.Admin method creating ajavax.jms.TopicConnectionFactoryinstance for creating TCP connections with a given server.protected RequestChannelcreateRequestChannel(FactoryParameters params, org.objectweb.joram.shared.security.Identity identity, String reliableClass)Deprecated.Creates theTcpRequestChannelobject specific to the protocol used.-
Methods inherited from class org.objectweb.joram.client.jms.TopicConnectionFactory
toString
-
Methods inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createXAConnection, createXAConnection, createXAContext, createXAContext, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getDefaultServerHost, getDefaultServerPort, getParameters, initIdentity, setCnxJMXBeanBaseName, setIdentityClassName, setReliableClass, toReference, toReference
-
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getReference
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext
-
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TopicTcpConnectionFactory
public TopicTcpConnectionFactory()
Deprecated.Constructs an emptyTopicTcpConnectionFactoryinstance. Should only be used for internal purposes.
-
TopicTcpConnectionFactory
private TopicTcpConnectionFactory(String host, int port)
Deprecated.Constructs aTopicTcpConnectionFactoryinstance.- Parameters:
host- Name or IP address of the server's host.port- Server's listening port.
-
-
Method Detail
-
createRequestChannel
protected RequestChannel createRequestChannel(FactoryParameters params, org.objectweb.joram.shared.security.Identity identity, String reliableClass) throws JMSException
Deprecated.Creates theTcpRequestChannelobject specific to the protocol used.- Specified by:
createRequestChannelin classAbstractConnectionFactory- Parameters:
params- Connection configuration parameters.identity- Client's identity.reliableClass- The protocol specific class.- Returns:
- The
RequestChannelobject specific to the protocol used. - Throws:
JMSException- A problem occurs during the connection.- See Also:
AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)
-
create
public static TopicConnectionFactory create() throws ConnectException
Deprecated.Admin method creating ajavax.jms.TopicConnectionFactoryinstance for creating TCP connections with the default server.- Throws:
ConnectException- If the admin connection is closed or broken.- See Also:
AbstractConnectionFactory.getDefaultServerHost(),AbstractConnectionFactory.getDefaultServerPort()
-
create
public static TopicConnectionFactory create(String host, int port)
Deprecated.Admin method creating ajavax.jms.TopicConnectionFactoryinstance for creating TCP connections with a given server.- Parameters:
host- Name or IP address of the server's host.port- Server's listening port.
-
create
public static TopicConnectionFactory create(String host, int port, String reliableClass)
Deprecated.Admin method creating ajavax.jms.TopicConnectionFactoryinstance for creating TCP connections with a given server.- Parameters:
host- Name or IP address of the server's host.port- Server's listening port.reliableClass- Reliable class name.
-
-