Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
TcpReader(IOControl ioctrl,
AgentId proxyId,
TcpConnection tcpConnection,
boolean closeConnection)
Creates a new reader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
close()
Releases any resources attached to this daemon.
|
void |
run() |
protected void |
shutdown()
Interrupts a thread that waits for long periods.
|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
public static org.objectweb.util.monolog.api.Logger logger
private TcpConnection tcpConnection
private IOControl ioctrl
private AgentId proxyId
private boolean closeConnection
public TcpReader(IOControl ioctrl, AgentId proxyId, TcpConnection tcpConnection, boolean closeConnection)
public void run()
protected void shutdown()
Daemon
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.