org.objectweb.joram.client.jms.tcp

Class TopicTcpConnectionFactory

Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, javax.jms.TopicConnectionFactory, SoapObjectItf

public class TopicTcpConnectionFactory
extends TopicConnectionFactory

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

See Also:
Serialized Form

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory

params

Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject

id, instancesTable

Constructor Summary

TopicTcpConnectionFactory()
Constructs an empty TopicTcpConnectionFactory instance.
TopicTcpConnectionFactory(String host, int port)
Constructs a TopicTcpConnectionFactory instance.

Method Summary

static javax.jms.TopicConnectionFactory
create()
Admin method creating a javax.jms.TopicConnectionFactory instance for creating TCP connections with the local server.
static javax.jms.TopicConnectionFactory
create(String host, int port)
Admin method creating a javax.jms.TopicConnectionFactory instance for creating TCP connections with a given server.
javax.jms.Connection
createConnection(String name, String password)
Method inherited from the ConnectionFactory class.
javax.jms.TopicConnection
createTopicConnection(String name, String password)
Method inherited from the TopicConnectionFactory class.

Methods inherited from class org.objectweb.joram.client.jms.TopicConnectionFactory

createTopicConnection, createTopicConnection, toString

Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory

code, createConnection, createConnection, decode, getDefaultLogin, getDefaultPassword, getParameters, getReference, toString

Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject

code, getInstance, getReference

Constructor Details

TopicTcpConnectionFactory

public TopicTcpConnectionFactory()
Constructs an empty TopicTcpConnectionFactory instance.


TopicTcpConnectionFactory

public TopicTcpConnectionFactory(String host,
                                 int port)
Constructs a TopicTcpConnectionFactory instance.

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

Method Details

create

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


create

public static javax.jms.TopicConnectionFactory create(String host,
                                                      int port)
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.


createConnection

public javax.jms.Connection createConnection(String name,
                                             String password)
            throws javax.jms.JMSException
Method inherited from the ConnectionFactory class.
Overrides:
createConnection in interface ConnectionFactory


createTopicConnection

public javax.jms.TopicConnection createTopicConnection(String name,
                                                       String password)
            throws javax.jms.JMSException
Method inherited from the TopicConnectionFactory class.
Overrides:
createTopicConnection in interface TopicConnectionFactory


Copyright B) 2004 Scalagent - All rights reserved