Source code from "Java Distributed Computing", by Jim Farley.
Class: SimpleCmdInputStream
Example: 1-2
Description: An extension of DataInputStream, used to read
commands from another agent through a stream interface.
The underlying stream could be a piped stream connected to
another thread, or the input stream from a socket
connection, etc. |