|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.util.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 |
---|
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()
Releases any resources attached to this daemon. |
void |
run()
|
protected void |
shutdown()
Interupts a thread that waits for long periods. |
Methods inherited from class fr.dyade.aaa.util.Daemon |
---|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setPriority, setThreadGroup, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TcpReader(IOControl ioctrl, AgentId proxyId, TcpConnection tcpConnection, boolean closeConnection) throws java.io.IOException
sock
- the socket to readuserConnection
- the connection
with the user's proxytcpConnection
- the TCP connection
java.io.IOException
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 |