gnu.inet.nntp

Class StatusResponse

Known Direct Subclasses:
ArticleResponse, GroupResponse

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.

Version:
$Revision: 1.4 $ $Date: 2004/07/28 09:37:21 $

Author:
Chris Burdess

Field Summary

protected String
message
protected short
status

Constructor Summary

StatusResponse(short status, String message)
Constructor.

Method Summary

String
getMessage()
Returns the message associated with this response.
short
getStatus()
Returns the status code associated with this response.

Field Details

message

protected String message


status

protected short status

Constructor Details

StatusResponse

protected StatusResponse(short status,
                         String message)
Constructor.

Method Details

getMessage

public String getMessage()
Returns the message associated with this response.


getStatus

public short getStatus()
Returns the status code associated with this response.


© Copyright 2003 The Free Software Foundation, all rights reserved