com.ibm.network.ftp
Class Response

java.lang.Object
  |
  +--com.ibm.network.ftp.Response
All Implemented Interfaces:
java.io.Serializable

public class Response
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Response()
          Response constructor.
 
Method Summary
 int getResponse()
          Returns the numeric presentation of reply as one digit.
 java.lang.String getStringResponse()
          Returns the string presentation of reply.
 void setResponse(int response)
          Sets the numeric presentation of reply as one digit.
 void setStringResponse(java.lang.String stringResponse)
          Sets the string presentation of reply.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public Response()
Response constructor.
Method Detail

getResponse

public int getResponse()
Returns the numeric presentation of reply as one digit.
Returns:
reply code

getStringResponse

public java.lang.String getStringResponse()
Returns the string presentation of reply.
Returns:
reply as string

setResponse

public void setResponse(int response)
Sets the numeric presentation of reply as one digit.
Parameters:
response - int

setStringResponse

public void setStringResponse(java.lang.String stringResponse)
Sets the string presentation of reply.
Parameters:
stringResponse - java.lang.String