Inheritance diagram for CP_POP3Response:
Public Types | |
enum | { kCP_POP3__ServerResponseOK = CP_FOUR_CHAR_CODE('+OK '), kCP_POP3__ServerResponseError = CP_FOUR_CHAR_CODE('-ERR') } |
Public Member Functions | |
Constructor / Destructor | |
CP_POP3Response (CP_Socket *inSocket) | |
Constructor. | |
CP_POP3Response (const CP_POP3Response &inResponse) | |
virtual | ~CP_POP3Response () throw () |
Destructor. | |
Server response | |
virtual bool | GetServerResponse () |
bool | GetMultiLineResponse (CP_InternetProtocolProgress &inProtocolProgress) |
Protected Attributes | |
CP_String | fServerResponseString |
CP_String | fServerBodyString |
SInt32 | fServerResponseCode |
CP_Socket * | fSocketConnection |
|
|
|
Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Copies the response of the server into this object, and returns true if the server has a response.
Reimplemented from CP_InternetResponse. |
|
Handle replies from our POP3 server. This method is used to retrieve multi-line responses.
|
|
Return the text of the response.
|
|
Return the text of the response.
|
|
Return the resonse code
|
|
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. |