org.objectweb.joram.client.jms.ha.local
Class HALocalConnection
java.lang.Object
org.objectweb.joram.client.jms.ha.local.HALocalConnection
- All Implemented Interfaces:
- RequestChannel
- public class HALocalConnection
- extends java.lang.Object
- implements RequestChannel
Field Summary |
static int |
INIT
|
static int |
NONE
|
static int |
RUN
|
Constructor Summary |
HALocalConnection(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 |
NONE
public static final int NONE
- See Also:
- Constant Field Values
INIT
public static final int INIT
- See Also:
- Constant Field Values
RUN
public static final int RUN
- See Also:
- Constant Field Values
HALocalConnection
public HALocalConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
init
public static void init(java.lang.String args,
boolean firstTime)
throws java.lang.Exception
- Throws:
java.lang.Exception
waitForStart
public static void waitForStart()
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