This package provides an interface used to communicate between the gui client and the pServer.

Communication is accomplised through a single TCP socked using a simple protocol which consists of four requests which operate on whole files at a time:

There are two main classes in this package, a transaction class which contains the implementation of the communication process and a transaction wrapper which is intended to be used in gui clients. This class passes all requests down to a transaction class and catches any exceptions thrown from there and displays them in message box.

A single instance of the transaction class should be created per application instance and it should be reused for all communication with the pServer. Reads from the server and blocking with a (7000 millisecond) timeout. If no response is received by that time, the connection is assumed to be lost, an exception is thrown up and an attempt is made to reconnect to the same host/port.