/[classpath]/inetlib/source/gnu/inet/nntp/StatusResponse.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/nntp/StatusResponse.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.6 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * StatusResponse.java
3   * Copyright (C) 2002 The Free Software Foundation   * Copyright (C) 2002 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 44  package gnu.inet.nntp; Line 44  package gnu.inet.nntp;
44   * response to client commands.   * response to client commands.
45   *   *
46   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
  * @version $Revision$ $Date$  
47   */   */
48  public class StatusResponse  public class StatusResponse
49  {  {
# Line 62  public class StatusResponse Line 61  public class StatusResponse
61    /**    /**
62     * Constructor.     * Constructor.
63     */     */
64    protected StatusResponse (short status, String message)    protected StatusResponse(short status, String message)
65    {    {
66      this.status = status;      this.status = status;
67      this.message = message;      this.message = message;
# Line 71  public class StatusResponse Line 70  public class StatusResponse
70    /**    /**
71     * Returns the status code associated with this response.     * Returns the status code associated with this response.
72     */     */
73    public short getStatus ()    public short getStatus()
74    {    {
75      return status;      return status;
76    }    }
# Line 79  public class StatusResponse Line 78  public class StatusResponse
78    /**    /**
79     * Returns the message associated with this response.     * Returns the message associated with this response.
80     */     */
81    public String getMessage ()    public String getMessage()
82    {    {
83      return message;      return message;
84    }    }
85        
86  }  }
87    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26