Free
Class ServerProtocol

java.lang.Object
  |
  +--Free.ServerProtocol

public class ServerProtocol
extends java.lang.Object

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().

Version:
1.5.5 11 April 2001
Author:
Jason Kitcat

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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerProtocol

public ServerProtocol()
Method Detail

process

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.
Parameters:
inputData - Contains the contents of a received packet