fr.dyade.aaa.util

Class ReliableTcpConnection


public class ReliableTcpConnection
extends java.lang.Object

Field Summary

static int
CONNECT
static int
CONNECTING
static int
DEFAULT_WINDOW_SIZE
static int
INIT
static String
WINDOW_SIZE_PROP_NAME
static Logger
logger
static String[]
statusNames

Constructor Summary

ReliableTcpConnection()

Method Summary

void
close()
void
init(Socket sock)
Object
receive()
void
send(Object request)

Field Details

CONNECT

public static final int CONNECT

Field Value:
1


CONNECTING

public static final int CONNECTING

Field Value:
2


DEFAULT_WINDOW_SIZE

public static int DEFAULT_WINDOW_SIZE


INIT

public static final int INIT

Field Value:
0


WINDOW_SIZE_PROP_NAME

public static String WINDOW_SIZE_PROP_NAME


logger

public static Logger logger


statusNames

public static final String[] statusNames

Constructor Details

ReliableTcpConnection

public ReliableTcpConnection()

Method Details

close

public void close()


init

public void init(Socket sock)
            throws IOException


receive

public Object receive()
            throws Exception


send

public void send(Object request)
            throws IOException


Copyright B) 2004 Scalagent - All rights reserved