|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Free.ServerProtocol
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.
Also included are data structures and methods for storing and retrieving
check date/time stamps for the FREE security system to provide persistence
between calls of process()
.
Constructor Summary | |
ServerProtocol()
|
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 ServerProtocol()
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 packet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |