Modifier and Type | Field and Description |
---|---|
private boolean |
closeConnection |
private ConnectionContext |
ctx |
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,
ConnectionContext ctx)
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
private ConnectionContext ctx
public TcpReader(IOControl ioctrl, AgentId proxyId, TcpConnection tcpConnection, boolean closeConnection, ConnectionContext ctx)
public void run()
protected void shutdown()
Daemon
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.