org.objectweb.joram.client.jms.local
Class LocalConnection
java.lang.Object
org.objectweb.joram.client.jms.local.LocalConnection
- All Implemented Interfaces:
- RequestChannel
public class LocalConnection
- extends java.lang.Object
- implements RequestChannel
Constructor Summary |
LocalConnection(java.lang.String userName,
java.lang.String password)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalConnection
public LocalConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setTimer
public void setTimer(java.util.Timer timer)
- Specified by:
setTimer
in interface RequestChannel
connect
public void connect()
throws java.lang.Exception
- Specified by:
connect
in interface RequestChannel
- Throws:
java.lang.Exception
send
public void send(AbstractJmsRequest request)
throws java.lang.Exception
- Specified by:
send
in interface RequestChannel
- Throws:
java.lang.Exception
receive
public AbstractJmsReply receive()
throws java.lang.Exception
- Specified by:
receive
in interface RequestChannel
- Throws:
java.lang.Exception
close
public void close()
- Specified by:
close
in interface RequestChannel
Copyright © 2005 Scalagent - All rights reserved