Inheritance diagram for CP_InternetResponse:
Getters | |
CP_String | GetResponseString () |
CP_String | GetBodyString () |
SInt32 | GetResponseCode () |
virtual bool | GetServerResponse () |
Public Member Functions | |
Constructor / Destructor | |
CP_InternetResponse (CP_Socket *inSocket) | |
Constructor. | |
CP_InternetResponse (const CP_InternetResponse &inResponse) | |
virtual | ~CP_InternetResponse () throw () |
Destructor. | |
Protected Attributes | |
CP_String | fServerResponseString |
CP_String | fServerBodyString |
SInt32 | fServerResponseCode |
CP_Socket * | fSocketConnection |
|
Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Return the text of the response.
|
|
Return the text of the response.
|
|
Return the resonse code
|
|
Handle replies from our server. Subclasses may need to override this depending on the particular server sends back responses.
Reimplemented in CP_FTPResponse, CP_POP3Response, and CP_SMTPResponse. |
|
Sets the text of the response. This text comes from the server.
|
|
Sets the response code. This text comes from the server.
|
|
Resets the fields of this response to initial or empty values.
|
|
Receive the next line from our server. We keep receiving until the end of line is reached.
|
|
|
|
CP_String containing the response from the server. |
|
CP_String containing the body of the response from the server |
|
Any numeric response code from the server. |