Package net.grinder.console.client

Client API for The Grinder console.

See: Description

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:

Copyright © 2000-2014. All Rights Reserved.