org.objectweb.joram.client.jms
Class FactoryParameters

java.lang.Object
  extended byorg.objectweb.joram.client.jms.FactoryParameters
All Implemented Interfaces:
java.io.Serializable

public class FactoryParameters
extends java.lang.Object
implements java.io.Serializable

A FactoryParameters instance holds a <XA>ConnectionFactory configuration parameters.

See Also:
Serialized Form

Field Summary
 int cnxPendingTimer
          Period in milliseconds between two ping requests sent by the client connection to the server; if the server does not receive any ping request during more than 2 * cnxPendingTimer, the connection is considered as dead and processed as required.
 int connectingTimer
          Duration in seconds during which connecting is attempted (connecting might take time if the server is temporarily not reachable); the 0 value is set for connecting only once and aborting if connecting failed.
 int txPendingTimer
          Duration in seconds during which a JMS transacted (non XA) session might be pending; above that duration the session is rolled back and closed; the 0 value means "no timer".
 
Constructor Summary
FactoryParameters(java.lang.String host, int port)
          Constructs a FactoryParameters instance.
 
Method Summary
 java.lang.String getHost()
          Returns the name of host hosting the server to create connections with.
 int getPort()
          Returns the port to be used for accessing the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectingTimer

public int connectingTimer
Duration in seconds during which connecting is attempted (connecting might take time if the server is temporarily not reachable); the 0 value is set for connecting only once and aborting if connecting failed.


txPendingTimer

public int txPendingTimer
Duration in seconds during which a JMS transacted (non XA) session might be pending; above that duration the session is rolled back and closed; the 0 value means "no timer".


cnxPendingTimer

public int cnxPendingTimer
Period in milliseconds between two ping requests sent by the client connection to the server; if the server does not receive any ping request during more than 2 * cnxPendingTimer, the connection is considered as dead and processed as required.

Constructor Detail

FactoryParameters

public FactoryParameters(java.lang.String host,
                         int port)
Constructs a FactoryParameters instance.

Parameters:
host - Name of host hosting the server to create connections with.
port - Port to be used for accessing the server.
Method Detail

getHost

public java.lang.String getHost()
Returns the name of host hosting the server to create connections with.


getPort

public int getPort()
Returns the port to be used for accessing the server.



Copyright ? 2004 Scalagent - All rights reserved