: Class PMProtocol

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## PollManager
Class PMProtocol

    java.lang.Object
      |
      +--PollManager.PMProtocol

public class PMProtocol
extends java.lang.Object

PMProtocol 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.

Version:
  0.11 8 September 2001
Author:
  Jason Kitcat

Constructor Summary
`PMProtocol()`

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

Constructor Detail

### PMProtocol

    public PMProtocol()

Method Detail

### process

    protected static java.lang.String[] process(java.lang.String inputData)
                                         throws java.lang.Exception

  process analyses packets and responds appropriately.
  Parameters:
    `inputData` - Contains the contents of a received packet
  Throws:
    ``Exception`,` - all errors are handled by `TCPClient` which has the ability to gracefully close the connection.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD