net.sf.wallace
Class ServerResponse
java.lang.Object
net.sf.wallace.ServerResponse
public final class ServerResponse
- extends Object
This class represents a tagged or untagged server response to a command.
A response is tagged if a constructor including a Message is used, it is
untagged otherwise.
- Author:
- rnewson
ServerResponse
public ServerResponse(ClientMessage newMessage,
String newResponseText)
- A tagged response with additional response text.
ServerResponse
public ServerResponse(ServerResponse.Type newType,
String newResponseText)
- A tagged response with additional response text.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2005 Robert Newson. All Rights Reserved.