org.objectweb.joram.client.jms.tcp
Class ReliableTcpClient

java.lang.Object
  extended byorg.objectweb.joram.client.jms.tcp.ReliableTcpClient

public class ReliableTcpClient
extends java.lang.Object


Field Summary
static int CLOSE
           
static int CONNECT
           
static int ERROR
           
static int INIT
           
static java.lang.String[] statusNames
           
 
Constructor Summary
ReliableTcpClient(FactoryParameters params, java.lang.String name, java.lang.String password)
           
 
Method Summary
 void addServerAddress(java.lang.String host, int port)
           
 void close()
           
 void connect()
           
 java.lang.Object receive()
           
 void send(java.lang.Object request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT

public static final int INIT
See Also:
Constant Field Values

CONNECT

public static final int CONNECT
See Also:
Constant Field Values

CLOSE

public static final int CLOSE
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

statusNames

public static final java.lang.String[] statusNames
Constructor Detail

ReliableTcpClient

public ReliableTcpClient(FactoryParameters params,
                         java.lang.String name,
                         java.lang.String password)
Method Detail

connect

public void connect()
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

send

public void send(java.lang.Object request)
          throws java.lang.Exception
Throws:
java.lang.Exception

receive

public java.lang.Object receive()
                         throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()

addServerAddress

public void addServerAddress(java.lang.String host,
                             int port)


Copyright ? 2004 Scalagent - All rights reserved