|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.service.server.ServerSocketChannelService.ConnectionHandlerThread
public class ServerSocketChannelService.ConnectionHandlerThread
This class is executed in under the given executor. It serves to keep
reference to socket connection and enclosing ServerSocketChannelService
instance.
Field Summary | |
---|---|
protected Connection |
socketConnection
Socket connection |
protected Thread |
thread
Current thread |
Constructor Summary | |
---|---|
ServerSocketChannelService.ConnectionHandlerThread(Connection socketConnection)
Constructor |
Method Summary | |
---|---|
Connection |
getConnection()
Returns socket connection |
Thread |
getThread()
Returns thread |
void |
run()
Handles connection invoking ConnectionHandler.handleConnection(org.abstracthorizon.danube.connection.Connection) method. |
void |
start()
Gives this object to the executor for execution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Connection socketConnection
protected Thread thread
Constructor Detail |
---|
public ServerSocketChannelService.ConnectionHandlerThread(Connection socketConnection)
socketConnection
- socket connectionMethod Detail |
---|
public Connection getConnection()
public Thread getThread()
public void start()
public void run()
ConnectionHandler.handleConnection(org.abstracthorizon.danube.connection.Connection)
method.
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |