Joram 5.0.7

org.objectweb.joram.client.jms.ha.local
Class HALocalConnection

java.lang.Object
  extended by 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 userName2, java.lang.String password2)
           
 
Method Summary
 void close()
           
 void connect()
           
static void init(java.lang.String args, boolean firstTime)
           
 AbstractJmsReply receive()
           
 void send(AbstractJmsRequest request)
           
 void setTimer(java.util.Timer timer)
           
static void waitForStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

HALocalConnection

public HALocalConnection(java.lang.String userName2,
                         java.lang.String password2)
                  throws javax.jms.JMSException
Throws:
javax.jms.JMSException
Method Detail

init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
Throws:
java.lang.Exception

waitForStart

public static void waitForStart()

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

Joram 5.0.7

Copyright © 2005 Scalagent - All rights reserved