Joram ${version}

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

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 void close()
           
static void init(java.lang.String args, boolean firstTime)
           
 AbstractJmsReply receive()
           
 void send(AbstractJmsRequest request)
           
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 userName,
                         java.lang.String password)
                  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()

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 ${version}

Copyright © 2005 Scalagent - All rights reserved