gnu.inet.nntp
Class StatusResponse

java.lang.Object
  extended by gnu.inet.nntp.StatusResponse
Direct Known 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.

Author:
Chris Burdess

Field Summary
protected  java.lang.String message
           
protected  short status
           
 
Constructor Summary
protected StatusResponse(short status, java.lang.String message)
          Constructor.
 
Method Summary
 java.lang.String getMessage()
          Returns the message associated with this response.
 short getStatus()
          Returns the status code associated with this response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

protected short status

message

protected java.lang.String message
Constructor Detail

StatusResponse

protected StatusResponse(short status,
                         java.lang.String message)
Constructor.

Method Detail

getStatus

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


getMessage

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



© Copyright 2003 The Free Software Foundation, all rights reserved