|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ERServer.ERServerProtocol
Processes the Strings passed to it by TCPServer
but throws
all errors back up to TCPServer
which can better handle
problems by elegantly closing connections.
The source code is very readable and best explains the logic.
Constructor Summary | |
ERServerProtocol()
|
Method Summary | |
protected static java.lang.String |
process(java.lang.String inputData)
process analyses Strings sent from TCPServer
and decides whether the data is in fact valid packets. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ERServerProtocol()
Method Detail |
protected static java.lang.String process(java.lang.String inputData) throws java.lang.Exception
process
analyses Strings sent from TCPServer
and decides whether the data is in fact valid packets.
If so then the appropriate replies are formulated and returned to
TCPServer
for sending to the client.inputData
- Contains the contents of a received
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |