Methods Summary |
---|
public java.lang.String | getDescription()A remote method that returns this person's description
return description;
|
public java.lang.String | getName()Return the person's name. Not a remote method return name;
|
public void | setDescription(java.lang.String d)Set the person's description. Not a remote method description = d;
|
public void | setName(java.lang.String n)Set the person's name. Not a remote method name = n;
|
public void | setTellStream(java.io.PrintWriter out)Set the stream that messages to us should be written to. Not remote. tellStream = out;
|
public void | tell(java.lang.String message)A remote method that delivers a message to the person.
I.e. it delivers a message to the user controlling the "person"
tellStream.println(message);
tellStream.flush();
|