|
Joram 4.3.34 | ||||||||
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.HATcpConnection
public class HATcpConnection
Constructor Summary | |
---|---|
HATcpConnection()
|
|
HATcpConnection(java.lang.String url,
FactoryParameters params,
java.lang.String name,
java.lang.String password)
Creates a HATcpConnection instance. |
|
HATcpConnection(java.lang.String url,
FactoryParameters params,
java.lang.String name,
java.lang.String password,
java.lang.String reliableClass)
Creates a HATcpConnection instance. |
Method Summary | |
---|---|
void |
close()
Closes the TCP connection. |
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 HATcpConnection(java.lang.String url, FactoryParameters params, java.lang.String name, java.lang.String password) throws javax.jms.JMSException
HATcpConnection
instance.
params
- Factory parameters.name
- Name of user.password
- Password of user.
javax.jms.JMSSecurityException
- If the user identification is incorrrect.
java.lang.IllegalStateException
- If the server is not reachable.
javax.jms.JMSException
public HATcpConnection()
public HATcpConnection(java.lang.String url, FactoryParameters params, java.lang.String name, java.lang.String password, java.lang.String reliableClass) throws javax.jms.JMSException
HATcpConnection
instance.
params
- Factory parameters.name
- Name of user.password
- Password of user.reliableClass
- reliable class name.
javax.jms.JMSSecurityException
- If the user identification is incorrrect.
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 RequestChannel
java.lang.Exception
public void send(AbstractJmsRequest request) throws java.lang.Exception
send
in interface RequestChannel
java.lang.Exception
public AbstractJmsReply receive() throws java.lang.Exception
receive
in interface RequestChannel
java.lang.Exception
public void close()
close
in interface RequestChannel
|
Joram 4.3.34 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |