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

Inherits org.objectweb.joram.client.jms.ConnectionFactory.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

A TcpConnectionFactory instance is a factory of TCP connections.

Definition at line 40 of file TcpConnectionFactory.java.


Constructor & Destructor Documentation

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

Constructs a TcpConnectionFactory instance.

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

Definition at line 50 of file TcpConnectionFactory.java.

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

Constructs an empty TcpConnectionFactory instance.

Definition at line 57 of file TcpConnectionFactory.java.

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


Member Function Documentation

javax.jms.Connection org.objectweb.joram.client.jms.tcp.TcpConnectionFactory.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 65 of file TcpConnectionFactory.java.

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

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

Admin method creating a javax.jms.ConnectionFactory 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 82 of file TcpConnectionFactory.java.

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

Here is the call graph for this function:

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

Admin method creating a javax.jms.ConnectionFactory 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 94 of file TcpConnectionFactory.java.

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

Here is the call graph for this function:

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

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

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

Definition at line 111 of file TcpConnectionFactory.java.

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


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