org.objectweb.joram.client.jms.tcp
Class TopicTcpConnectionFactory

java.lang.Object
  extended by org.objectweb.joram.client.jms.admin.AdministeredObject
      extended by org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
          extended by org.objectweb.joram.client.jms.TopicConnectionFactory
              extended by org.objectweb.joram.client.jms.tcp.TopicTcpConnectionFactory
All Implemented Interfaces:
SoapObjectItf, java.io.Serializable, javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory, javax.naming.Referenceable

Deprecated. Replaced next to Joram 5.2.1 by TcpConnectionFactory.

public class TopicTcpConnectionFactory
extends TopicConnectionFactory

A TopicTcpConnectionFactory instance is a factory of TCP connections for Pub/Sub communication.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Deprecated. define serialVersionUID for interoperability
 
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
identity, identityClassName, params, reliableClass
 
Constructor Summary
  TopicTcpConnectionFactory()
          Deprecated. Constructs an empty TopicTcpConnectionFactory instance.
private TopicTcpConnectionFactory(java.lang.String host, int port)
          Deprecated. Constructs a TopicTcpConnectionFactory instance.
 
Method Summary
static javax.jms.TopicConnectionFactory create()
          Deprecated. Admin method creating a javax.jms.TopicConnectionFactory instance for creating TCP connections with the default server.
static javax.jms.TopicConnectionFactory create(java.lang.String host, int port)
          Deprecated. Admin method creating a javax.jms.TopicConnectionFactory instance for creating TCP connections with a given server.
static javax.jms.TopicConnectionFactory create(java.lang.String host, int port, java.lang.String reliableClass)
          Deprecated. Admin method creating a javax.jms.TopicConnectionFactory instance for creating TCP connections with a given server.
protected  RequestChannel createRequestChannel(FactoryParameters params, Identity identity, java.lang.String reliableClass)
          Deprecated. Creates the TcpRequestChannel object 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
code, code, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createXAConnection, createXAConnection, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, decode, decode, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getDefaultServerHost, getDefaultServerPort, getParameters, initIdentity, 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.TopicConnectionFactory
createTopicConnection, createTopicConnection
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

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 empty TopicTcpConnectionFactory instance. Should only be used for internal purposes.


TopicTcpConnectionFactory

private TopicTcpConnectionFactory(java.lang.String host,
                                  int port)
Deprecated. 
Constructs a TopicTcpConnectionFactory instance.

Parameters:
host - Name or IP address of the server's host.
port - Server's listening port.
Method Detail

createRequestChannel

protected RequestChannel createRequestChannel(FactoryParameters params,
                                              Identity identity,
                                              java.lang.String reliableClass)
                                       throws javax.jms.JMSException
Deprecated. 
Creates the TcpRequestChannel object specific to the protocol used.

Specified by:
createRequestChannel in class AbstractConnectionFactory
Parameters:
params - Connection configuration parameters.
identity - Client's identity.
reliableClass - The protocol specific class.
Returns:
The RequestChannel object specific to the protocol used.
Throws:
javax.jms.JMSException - A problem occurs during the connection.
See Also:
AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)

create

public static javax.jms.TopicConnectionFactory create()
                                               throws java.net.ConnectException
Deprecated. 
Admin method creating a javax.jms.TopicConnectionFactory instance for creating TCP connections with the default server.

Throws:
java.net.ConnectException - If the admin connection is closed or broken.
See Also:
AbstractConnectionFactory.getDefaultServerHost(), AbstractConnectionFactory.getDefaultServerPort()

create

public static javax.jms.TopicConnectionFactory create(java.lang.String host,
                                                      int port)
Deprecated. 
Admin method creating a javax.jms.TopicConnectionFactory instance 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 javax.jms.TopicConnectionFactory create(java.lang.String host,
                                                      int port,
                                                      java.lang.String reliableClass)
Deprecated. 
Admin method creating a javax.jms.TopicConnectionFactory instance 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.


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.