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