|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.local.LocalConnection
Constructor Summary | |
LocalConnection(java.lang.String userName,
java.lang.String password)
|
Method Summary | |
void |
close()
Closes the connection. |
Driver |
createDriver(Connection cnx)
Creates a driver for providing the connection with server's replies. |
void |
send(AbstractJmsRequest request)
Sends a JMS request to the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
Method Detail |
public void send(AbstractJmsRequest request) throws javax.jms.IllegalStateException
ConnectionItf
send
in interface ConnectionItf
javax.jms.IllegalStateException
- If the connection failed to
route the sending because it is broken or not established.public Driver createDriver(Connection cnx)
ConnectionItf
createDriver
in interface ConnectionItf
cnx
- The calling Connection
instance.public void close()
ConnectionItf
close
in interface ConnectionItf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |