|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--FreeClient.ClientProtocol
ClientProtocol receives Strings of data from TCPClient
and
implements the logic to process these strings and formulate the appropriate
replies.
The source code is extremely readable and best explains the full functionality.
Constructor Summary | |
ClientProtocol()
|
Method Summary | |
protected static java.lang.String |
process(java.lang.String inputData)
process analyses packets and responds appropriately. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ClientProtocol()
Method Detail |
protected static java.lang.String process(java.lang.String inputData) throws java.lang.Exception
inputData
- Contains the contents of a received packetException
, - all errors are handled by TCPClient
which has the ability to gracefully close the connection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |