PostCmdpublic class PostCmd extends SimpleCmd Source code from "Java Distributed Computing", by Jim Farley.
Class: PostCmd
Example: 1-1
Description: A command sent between two agents, used to post
data from the sender to the receiver. |
Constructors Summary |
---|
public PostCmd(String s) super(s);
|
Methods Summary |
---|
public java.lang.String | Do()
String result = arg + " Posted\n";
return result;
|
|