public interface TcpConnectionHandler
| Modifier and Type | Method and Description |
|---|---|
Object[] |
init()
Called before the call to processConnection.
|
void |
processConnection(TcpConnection connection,
Object[] thData)
Assert: connection!=null
Assert: connection.getSocket() != null
Assert: thData != null and is the result of calling init()
Assert: thData is preserved per Thread.
|
void |
setAttribute(String name,
Object value)
Used to pass config informations to the handler
|
void |
setServer(Object manager)
Deprecated.
This has nothing to do with TcpHandling,
was used as a workaround
|
void setServer(Object manager)
void setAttribute(String name, Object value)
Object[] init()
void processConnection(TcpConnection connection, Object[] thData)
Copyright © 2005–2017 Oracle Corporation. All rights reserved.