|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.common.Daemon
org.objectweb.joram.mom.proxies.tcp.TcpReader
public class TcpReader
The activity responsible for reading the requests from the socket and invoke the user's proxy.
Field Summary | |
---|---|
private boolean |
closeConnection
|
private IOControl |
ioctrl
|
static org.objectweb.util.monolog.api.Logger |
logger
logger |
private AgentId |
proxyId
|
private TcpConnection |
tcpConnection
The TCP connection that started this reader. |
Fields inherited from class fr.dyade.aaa.common.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()
Releases any resources attached to this daemon. |
void |
run()
|
protected void |
shutdown()
Interrupts a thread that waits for long periods. |
Methods inherited from class fr.dyade.aaa.common.Daemon |
---|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
private TcpConnection tcpConnection
private IOControl ioctrl
private AgentId proxyId
private boolean closeConnection
Constructor Detail |
---|
public TcpReader(IOControl ioctrl, AgentId proxyId, TcpConnection tcpConnection, boolean closeConnection)
Method Detail |
---|
public void run()
protected void shutdown()
Daemon
shutdown
in class Daemon
protected void close()
Daemon
close
in class Daemon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |