|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.client.jms.tcp.TcpConnection
A TcpConnection links a Joram client and a Joram platform
with a TCP socket.
Requests and replies travel through the socket after serialization.
| Constructor Summary | |
TcpConnection(FactoryParameters params,
java.lang.String name,
java.lang.String password)
Creates a TcpConnection instance. |
|
| Method Summary | |
void |
close()
Closes the TCP connection. |
Driver |
createDriver(Connection cnx)
Creates a driver for the connection. |
void |
send(AbstractJmsRequest request)
Sending a JMS request through the TCP connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TcpConnection(FactoryParameters params,
java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
TcpConnection instance.
params - Factory parameters.name - Name of user.password - Password of user.
javax.jms.JMSSecurityException - If the user identification is incorrrect.
javax.jms.IllegalStateException - If the server is not reachable.
javax.jms.JMSException| Method Detail |
public Driver createDriver(Connection cnx)
createDriver in interface ConnectionItfcnx - The calling Connection instance.
public void send(AbstractJmsRequest request)
throws javax.jms.IllegalStateException
send in interface ConnectionItfjavax.jms.IllegalStateException - If the connection is broken.public void close()
close in interface ConnectionItf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||