|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
org.objectweb.joram.client.jms.QueueConnectionFactory
org.objectweb.joram.client.jms.tcp.QueueTcpConnectionFactory
TcpConnectionFactory
.
public class QueueTcpConnectionFactory
A QueueTcpConnectionFactory
instance is a factory of
TCP connections for PTP communication.
Field Summary | |
---|---|
private static long |
serialVersionUID
Deprecated. define serialVersionUID for interoperability |
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory |
---|
identity, identityClassName, params, reliableClass |
Constructor Summary | |
---|---|
|
QueueTcpConnectionFactory()
Deprecated. Constructs an empty QueueTcpConnectionFactory instance. |
private |
QueueTcpConnectionFactory(java.lang.String host,
int port)
Deprecated. Constructs a QueueTcpConnectionFactory instance. |
Method Summary | |
---|---|
static javax.jms.QueueConnectionFactory |
create()
Deprecated. Admin method creating a javax.jms.QueueConnectionFactory
instance for creating TCP connections with the default server. |
static javax.jms.QueueConnectionFactory |
create(java.lang.String host,
int port)
Deprecated. Admin method creating a javax.jms.QueueConnectionFactory
instance for creating TCP connections with a given server. |
static javax.jms.QueueConnectionFactory |
create(java.lang.String host,
int port,
java.lang.String reliableClass)
Deprecated. Admin method creating a javax.jms.QueueConnectionFactory
instance for creating TCP connections with a given server. |
protected RequestChannel |
createRequestChannel(FactoryParameters params,
Identity identity,
java.lang.String reliableClass)
Deprecated. Creates the TcpRequestChannel object specific to the protocol used. |
Methods inherited from class org.objectweb.joram.client.jms.QueueConnectionFactory |
---|
toString |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
---|
getReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.QueueConnectionFactory |
---|
createQueueConnection, createQueueConnection |
Methods inherited from interface javax.jms.ConnectionFactory |
---|
createConnection, createConnection |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public QueueTcpConnectionFactory()
QueueTcpConnectionFactory
instance.
Should only be used for internal purposes.
private QueueTcpConnectionFactory(java.lang.String host, int port)
QueueTcpConnectionFactory
instance.
host
- Name or IP address of the server's host.port
- Server's listening port.Method Detail |
---|
protected RequestChannel createRequestChannel(FactoryParameters params, Identity identity, java.lang.String reliableClass) throws javax.jms.JMSException
TcpRequestChannel
object specific to the protocol used.
createRequestChannel
in class AbstractConnectionFactory
params
- Connection configuration parameters.identity
- Client's identity.reliableClass
- The protocol specific class.
RequestChannel
object specific to the protocol used.
javax.jms.JMSException
- A problem occurs during the connection.AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)
public static javax.jms.QueueConnectionFactory create()
javax.jms.QueueConnectionFactory
instance for creating TCP connections with the default server.
ConnectException
- If the admin connection is closed or broken.AbstractConnectionFactory.getDefaultServerHost()
,
AbstractConnectionFactory.getDefaultServerPort()
public static javax.jms.QueueConnectionFactory create(java.lang.String host, int port)
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.public static javax.jms.QueueConnectionFactory create(java.lang.String host, int port, java.lang.String reliableClass)
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.reliableClass
- Reliable class name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |