|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.joram.client.jms.ha.tcp.HATcpRequestChannel
public class HATcpRequestChannel
| Constructor Summary | |
|---|---|
HATcpRequestChannel()
|
|
HATcpRequestChannel(java.lang.String url,
FactoryParameters params,
Identity identity)
Creates a HATcpConnection instance. |
|
HATcpRequestChannel(java.lang.String url,
FactoryParameters params,
Identity identity,
java.lang.String reliableClass)
Creates a HATcpConnection instance. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the TCP connection. |
void |
closing()
|
void |
connect()
|
AbstractJmsReply |
receive()
|
void |
send(AbstractJmsRequest request)
Sending a JMS request through the TCP connection. |
void |
setTimer(java.util.Timer timer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HATcpRequestChannel(java.lang.String url,
FactoryParameters params,
Identity identity)
throws javax.jms.JMSException
HATcpConnection instance.
params - Factory parameters.identity -
javax.jms.JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not reachable.
javax.jms.JMSExceptionpublic HATcpRequestChannel()
public HATcpRequestChannel(java.lang.String url,
FactoryParameters params,
Identity identity,
java.lang.String reliableClass)
throws javax.jms.JMSException
HATcpConnection instance.
params - Factory parameters.identity - reliableClass - reliable class name.
javax.jms.JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not reachable.
javax.jms.JMSException| Method Detail |
|---|
public void setTimer(java.util.Timer timer)
setTimer in interface RequestChannel
public void connect()
throws java.lang.Exception
connect in interface RequestChanneljava.lang.Exception
public void send(AbstractJmsRequest request)
throws java.lang.Exception
send in interface RequestChanneljava.lang.Exception
public AbstractJmsReply receive()
throws java.lang.Exception
receive in interface RequestChanneljava.lang.Exceptionpublic void close()
close in interface RequestChannelpublic void closing()
closing in interface RequestChannel
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||