org.objectweb.joram.mom.proxies.tcp
Class TcpConnection
java.lang.Object
org.objectweb.joram.mom.proxies.tcp.TcpConnection
public class TcpConnection
extends java.lang.Object
Handles the TCP connection. Starts the
reader and writer threads responsible for
reading the requests and writing the replies.
Calls the UserConnection
in order
to invoke the user's proxy and get its replies.
TcpProxyService
, TcpConnectionListener
TcpConnection
public TcpConnection(IOControl ioctrl,
AgentId proxyId,
AckedQueue replyQueue,
int key,
TcpProxyService proxyService,
boolean closeConnection)
Creates a new TCP connection.
proxyService
- the TCP proxy service
getKey
public final int getKey()
Copyright B) 2004 Scalagent - All rights reserved