|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.ConnectionFactory
org.objectweb.joram.client.jms.TopicConnectionFactory
org.objectweb.joram.client.jms.tcp.TopicTcpConnectionFactory
A TopicTcpConnectionFactory instance is a factory of
TCP connections for Pub/Sub communication.
| Field Summary |
| Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
params, reliableClass |
| Constructor Summary | |
TopicTcpConnectionFactory()
Constructs an empty TopicTcpConnectionFactory instance. |
|
TopicTcpConnectionFactory(java.lang.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(java.lang.String host,
int port)
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)
Admin method creating a javax.jms.TopicConnectionFactory
instance for creating TCP connections with a given server. |
javax.jms.Connection |
createConnection(java.lang.String name,
java.lang.String password)
Method inherited from the ConnectionFactory class. |
javax.jms.TopicConnection |
createTopicConnection(java.lang.String name,
java.lang.String password)
Method inherited from the TopicConnectionFactory class. |
| Methods inherited from class org.objectweb.joram.client.jms.TopicConnectionFactory |
createTopicConnection, toString |
| Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
code, createConnection, decode, getDefaultLogin, getDefaultPassword, getParameters, getReference, setReliableClass |
| 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 |
| Constructor Detail |
public TopicTcpConnectionFactory(java.lang.String host,
int port)
TopicTcpConnectionFactory instance.
host - Name or IP address of the server's host.port - Server's listening port.public TopicTcpConnectionFactory()
TopicTcpConnectionFactory instance.
| Method Detail |
public javax.jms.TopicConnection createTopicConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
TopicConnectionFactory class.
createTopicConnection in interface javax.jms.TopicConnectionFactorycreateTopicConnection in class TopicConnectionFactoryJMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException
public javax.jms.Connection createConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
ConnectionFactory class.
createConnection in interface javax.jms.ConnectionFactorycreateConnection in class ConnectionFactoryJMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException
public static javax.jms.TopicConnectionFactory create(java.lang.String host,
int port)
javax.jms.TopicConnectionFactory
instance for creating TCP connections with a given server.
host - Name or IP address of the server's host.port - Server's listening port.
public static javax.jms.TopicConnectionFactory create(java.lang.String host,
int port,
java.lang.String reliableClass)
javax.jms.TopicConnectionFactory
instance for creating TCP connections with a given server.
host - Name or IP address of the server's host.port - Server's listening port.reliableClass - Reliable class name.
public static javax.jms.TopicConnectionFactory create()
throws java.net.ConnectException
javax.jms.TopicConnectionFactory
instance for creating TCP connections with the local server.
ConnectException - If the admin connection is closed or broken.
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||