src.server
Class OutputPackage
java.lang.Object
src.server.Package
src.server.OutputPackage
- public class OutputPackage
- extends Package
Describes a package with a message to be sent from the server.
- Version:
- 2005-apr-20
|
Method Summary |
java.lang.String |
getOutput()
Gets the package's output message. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OutputPackage
public OutputPackage(RecipientTag recipient,
java.lang.String output)
- Constructor for OutputPackage.
- Parameters:
recipient - The tag detailing the owner of the package.output - The message that should be sent.
getOutput
public java.lang.String getOutput()
- Gets the package's output message.
- Returns:
- An output message.
toString
public java.lang.String toString()
- Overrides:
toString in class Package