org.objectweb.joram.mom.proxies.tcp
Class TcpReader
java.lang.Object
fr.dyade.aaa.util.Daemon
org.objectweb.joram.mom.proxies.tcp.TcpReader
- All Implemented Interfaces:
- java.lang.Runnable
public class TcpReader
- extends fr.dyade.aaa.util.Daemon
The activity responsible for reading the requests from the socket and invoke
the user's proxy.
Field Summary |
static org.objectweb.util.monolog.api.Logger |
logger
logger |
Fields inherited from class fr.dyade.aaa.util.Daemon |
canStop, group, logmon, priority, running, thread |
Constructor Summary |
TcpReader(IOControl ioctrl,
fr.dyade.aaa.agent.AgentId proxyId,
TcpConnection tcpConnection,
boolean closeConnection)
Creates a new reader. |
Methods inherited from class fr.dyade.aaa.util.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 |
logger
public static org.objectweb.util.monolog.api.Logger logger
- logger
TcpReader
public TcpReader(IOControl ioctrl,
fr.dyade.aaa.agent.AgentId proxyId,
TcpConnection tcpConnection,
boolean closeConnection)
throws java.io.IOException
- Creates a new reader.
- Parameters:
sock
- the socket to readuserConnection
- the connection with the user's proxytcpConnection
- the TCP connection
- Throws:
java.io.IOException
run
public void run()
shutdown
protected void shutdown()
- Specified by:
shutdown
in class fr.dyade.aaa.util.Daemon
close
protected void close()
- Specified by:
close
in class fr.dyade.aaa.util.Daemon
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved