|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProtocolHandler
Once a TCP protocol has been found by a ProtocolFinder
| Method Summary | |
|---|---|
boolean |
expireKey(SelectionKey key)
Invoked when the SelectorThread is about to expire a SelectionKey. |
String[] |
getProtocols()
Return an array of TCP protocols supported by this ProtocolHandler. |
void |
handle(ProtocolInfo protocolInfo)
Handle the current request by either redirecting the request to a new port or by delivering the request to the proper endpoint. |
| Method Detail |
|---|
String[] getProtocols()
void handle(ProtocolInfo protocolInfo)
throws IOException
IOExceptionboolean expireKey(SelectionKey key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||