org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory Class Reference

Inherits org.objectweb.joram.client.jms.QueueConnectionFactory.

Inheritance diagram for org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QueueTcpConnectionFactory (String host, int port)
 QueueTcpConnectionFactory ()
javax.jms.QueueConnection createQueueConnection (String name, String password) throws JMSException
javax.jms.Connection createConnection (String name, String password) throws JMSException

Static Public Member Functions

static javax.jms.QueueConnectionFactory create (String host, int port)
static javax.jms.QueueConnectionFactory create (String host, int port, String reliableClass)
static javax.jms.QueueConnectionFactory create () throws java.net.ConnectException

Detailed Description

A QueueTcpConnectionFactory instance is a factory of TCP connections for PTP communication.

Definition at line 38 of file QueueTcpConnectionFactory.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.QueueTcpConnectionFactory ( String  host,
int  port 
)

Constructs a QueueTcpConnectionFactory instance.

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

Definition at line 48 of file QueueTcpConnectionFactory.java.

org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.QueueTcpConnectionFactory (  ) 

Constructs an empty QueueTcpConnectionFactory instance.

Definition at line 55 of file QueueTcpConnectionFactory.java.

Referenced by org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.create().


Member Function Documentation

javax.jms.QueueConnection org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.createQueueConnection ( String  name,
String  password 
) throws JMSException [virtual]

Method inherited from the QueueConnectionFactory class.

Exceptions:
JMSSecurityException If the user identification is incorrect.
IllegalStateException If the server is not listening.

Implements org.objectweb.joram.client.jms.QueueConnectionFactory.

Definition at line 63 of file QueueTcpConnectionFactory.java.

References org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.params, and org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.reliableClass.

javax.jms.Connection org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.createConnection ( String  name,
String  password 
) throws JMSException [virtual]

Method inherited from the ConnectionFactory class.

Exceptions:
JMSSecurityException If the user identification is incorrect.
IllegalStateException If the server is not listening.

Implements org.objectweb.joram.client.jms.ConnectionFactory.

Definition at line 75 of file QueueTcpConnectionFactory.java.

References org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.params, and org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.reliableClass.

static javax.jms.QueueConnectionFactory org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.create ( String  host,
int  port 
) [static]

Admin method creating a javax.jms.QueueConnectionFactory 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.

Definition at line 88 of file QueueTcpConnectionFactory.java.

References org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.create().

Here is the call graph for this function:

static javax.jms.QueueConnectionFactory org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.create ( String  host,
int  port,
String  reliableClass 
) [static]

Admin method creating a javax.jms.QueueConnectionFactory 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.

Definition at line 100 of file QueueTcpConnectionFactory.java.

References org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.QueueTcpConnectionFactory(), and org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.setReliableClass().

Here is the call graph for this function:

static javax.jms.QueueConnectionFactory org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.create (  )  throws java.net.ConnectException [static]

Admin method creating a javax.jms.QueueConnectionFactory instance for creating TCP connections with the local server.

Exceptions:
ConnectException If the admin connection is closed or broken.

Definition at line 113 of file QueueTcpConnectionFactory.java.

Referenced by org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory.create().


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:19:09 2008 for joram by  doxygen 1.5.0