fr.dyade.aaa.util
Class ReliableTcpConnection

java.lang.Object
  extended byfr.dyade.aaa.util.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 org.objectweb.util.monolog.api.Logger logger
           
static java.lang.String[] statusNames
           
static java.lang.String WINDOW_SIZE_PROP_NAME
           
 
Constructor Summary
ReliableTcpConnection()
           
 
Method Summary
 void close()
           
 void init(java.net.Socket sock)
           
 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

CONNECTING

public static final int CONNECTING
See Also:
Constant Field Values

statusNames

public static final java.lang.String[] statusNames

logger

public static org.objectweb.util.monolog.api.Logger logger

WINDOW_SIZE_PROP_NAME

public static java.lang.String WINDOW_SIZE_PROP_NAME

DEFAULT_WINDOW_SIZE

public static int DEFAULT_WINDOW_SIZE
Constructor Detail

ReliableTcpConnection

public ReliableTcpConnection()
Method Detail

init

public void init(java.net.Socket sock)
          throws java.io.IOException
Throws:
java.io.IOException

send

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

receive

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

close

public void close()


Copyright ? 2004 Scalagent - All rights reserved