gnu.inet.nntp
Class StatusResponse
java.lang.Object
gnu.inet.nntp.StatusResponse
public class StatusResponse
extends java.lang.Object
An NNTP status response.
This represents the status code/message pair sent by the server in
response to client commands.
String | getMessage() - Returns the message associated with this response.
|
short | getStatus() - Returns the status code associated with this response.
|
message
protected String message
status
protected short status
StatusResponse
protected StatusResponse(short status,
String message)
Constructor.
getMessage
public String getMessage()
Returns the message associated with this response.
getStatus
public short getStatus()
Returns the status code associated with this response.