Package net.grinder.console.client

Client API for The Grinder console.

See:
          Description

Interface Summary
ConsoleConnection Console API.
 

Class Summary
ConsoleConnectionFactory Something that can create ConsoleConnection instances.
 

Exception Summary
ConsoleConnectionException Exception indicating problem related to a console connection.
 

Package net.grinder.console.client Description

Client API for The Grinder console.

The current implementation builds up the standard grinder communications package, which can run over streams including process input/output streams and a custom TCP/IP socket protocol layer. The communication package uses Java Serialization for marshalling. To implement the client API, the communications package was extended to support a "blocking send" over TCP/IP. (Previously, only "one-way", asynchronous messaging had been required).

I decided that the console API required synchronous interaction since this provides a more natural API. In the future, I may extend it to include an asynchronus event channel for pushing data back to "subscribing" clients.

Some notes about the alternatives I rejected: