org.objectweb.joram.client.jms.tcp
Class QueueTcpConnectionFactory
- javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
public class QueueTcpConnectionFactory
A QueueTcpConnectionFactory
instance is a factory of
TCP connections for PTP communication.
- Serialized Form
static javax.jms.QueueConnectionFactory | create() - Admin method creating a
javax.jms.QueueConnectionFactory
instance for creating TCP connections with the local server.
|
static javax.jms.QueueConnectionFactory | create(String host, int port) - Admin method creating a
javax.jms.QueueConnectionFactory
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.QueueConnection | createQueueConnection(String name, String password) - Method inherited from the
QueueConnectionFactory class.
|
QueueTcpConnectionFactory
public QueueTcpConnectionFactory()
Constructs an empty QueueTcpConnectionFactory
instance.
QueueTcpConnectionFactory
public QueueTcpConnectionFactory(String host,
int port)
Constructs a QueueTcpConnectionFactory
instance.
host
- Name or IP address of the server's host.port
- Server's listening port.
create
public static javax.jms.QueueConnectionFactory create()
throws java.net.ConnectException
Admin method creating a javax.jms.QueueConnectionFactory
instance for creating TCP connections with the local server.
create
public static javax.jms.QueueConnectionFactory create(String host,
int port)
Admin method creating a javax.jms.QueueConnectionFactory
instance for creating TCP connections with a given server.
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.
- createConnection in interface ConnectionFactory
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(String name,
String password)
throws javax.jms.JMSException
Method inherited from the QueueConnectionFactory
class.
- createQueueConnection in interface QueueConnectionFactory
Copyright B) 2004 Scalagent - All rights reserved