org.objectweb.joram.client.jms.ha.tcp.HATcpConnection Class Reference

Inherits org.objectweb.joram.client.jms.connection.RequestChannel.

Inheritance diagram for org.objectweb.joram.client.jms.ha.tcp.HATcpConnection:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HATcpConnection (String url, FactoryParameters params, String name, String password) throws JMSException
 HATcpConnection ()
 HATcpConnection (String url, FactoryParameters params, String name, String password, String reliableClass) throws JMSException
void setTimer (Timer timer)
void connect () throws Exception
void send (AbstractJmsRequest request) throws Exception
AbstractJmsReply receive () throws Exception
void close ()

Detailed Description

Definition at line 38 of file HATcpConnection.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.jms.ha.tcp.HATcpConnection.HATcpConnection ( String  url,
FactoryParameters  params,
String  name,
String  password 
) throws JMSException

Creates a HATcpConnection instance.

Parameters:
params Factory parameters.
name Name of user.
password Password of user.
Exceptions:
JMSSecurityException If the user identification is incorrrect.
IllegalStateException If the server is not reachable.

Definition at line 53 of file HATcpConnection.java.

org.objectweb.joram.client.jms.ha.tcp.HATcpConnection.HATcpConnection ( String  url,
FactoryParameters  params,
String  name,
String  password,
String  reliableClass 
) throws JMSException

Creates a HATcpConnection instance.

Parameters:
params Factory parameters.
name Name of user.
password Password of user.
reliableClass reliable class name.
Exceptions:
JMSSecurityException If the user identification is incorrrect.
IllegalStateException If the server is not reachable.

Definition at line 80 of file HATcpConnection.java.

References org.objectweb.joram.client.jms.tcp.ReliableTcpClient.addServerAddress(), and org.objectweb.joram.client.jms.tcp.ReliableTcpClient.init().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.joram.client.jms.ha.tcp.HATcpConnection.send ( AbstractJmsRequest  request  )  throws Exception

Sending a JMS request through the TCP connection.

Implements org.objectweb.joram.client.jms.connection.RequestChannel.

Definition at line 138 of file HATcpConnection.java.

References org.objectweb.joram.client.jms.tcp.ReliableTcpClient.send().

Here is the call graph for this function:

void org.objectweb.joram.client.jms.ha.tcp.HATcpConnection.close (  ) 

Closes the TCP connection.

Implements org.objectweb.joram.client.jms.connection.RequestChannel.

Definition at line 149 of file HATcpConnection.java.

References org.objectweb.joram.client.jms.tcp.ReliableTcpClient.close().

Here is the call graph for this function:


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