HeadCmdpublic class HeadCmd extends SimpleCmd Source code from "Java Distributed Computing", by Jim Farley.
Class: HeadCmd
Example: 1-1
Description: A command sent between two agents, used to indicate
the prelude to a communication session. |
Constructors Summary |
---|
public HeadCmd(String s) super(s);
|
Methods Summary |
---|
public java.lang.String | Do()
String result = "Head \"" + arg + "\" processed.\n";
return result;
|
|