org.objectweb.joram.mom.proxies.tcp

Class TcpReader

Implemented Interfaces:
Runnable

public class TcpReader
extends Daemon

The activity responsible for reading the requests from the socket and invoke the user's proxy.

Field Summary

Fields inherited from class fr.dyade.aaa.util.Daemon

canStop, group, logmon, priority, running, thread

Constructor Summary

TcpReader(IOControl ioctrl, AgentId proxyId, TcpConnection tcpConnection, boolean closeConnection)
Creates a new reader.

Method Summary

protected void
close()
void
run()
protected void
shutdown()

Methods inherited from class fr.dyade.aaa.util.Daemon

close, finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setPriority, setThreadGroup, shutdown, start, stop, toString

Constructor Details

TcpReader

public TcpReader(IOControl ioctrl,
                 AgentId proxyId,
                 TcpConnection tcpConnection,
                 boolean closeConnection)
            throws IOException
Creates a new reader.

Parameters:
tcpConnection - the TCP connection

Method Details

close

protected void close()
Overrides:
close in interface Daemon


run

public void run()


shutdown

protected void shutdown()
Overrides:
shutdown in interface Daemon


Copyright B) 2004 Scalagent - All rights reserved