org.objectweb.joram.client.jms.tcp

Class ReliableTcpClient


public class ReliableTcpClient
extends java.lang.Object

Field Summary

static int
CLOSE
static int
CONNECT
static int
ERROR
static int
INIT
static String[]
statusNames

Constructor Summary

ReliableTcpClient(FactoryParameters params, String name, String password)

Method Summary

void
addServerAddress(String host, int port)
void
close()
void
connect()
Object
receive()
void
send(Object request)

Field Details

CLOSE

public static final int CLOSE

Field Value:
2


CONNECT

public static final int CONNECT

Field Value:
1


ERROR

public static final int ERROR

Field Value:
3


INIT

public static final int INIT

Field Value:
0


statusNames

public static final String[] statusNames

Constructor Details

ReliableTcpClient

public ReliableTcpClient(FactoryParameters params,
                         String name,
                         String password)

Method Details

addServerAddress

public void addServerAddress(String host,
                             int port)


close

public void close()


connect

public void connect()
            throws JMSException


receive

public Object receive()
            throws Exception


send

public void send(Object request)
            throws Exception


Copyright B) 2004 Scalagent - All rights reserved