Interface | Description |
---|---|
ConsoleConnection |
Console API.
|
Class | Description |
---|---|
ConsoleConnectionFactory |
Something that can create
ConsoleConnection instances. |
Exception | Description |
---|---|
ConsoleConnectionException |
Exception indicating problem related to a console connection.
|
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:
rmic
.Copyright © 2000-2014. All Rights Reserved.