#include <cmdprot.h>
Inheritance diagram for wxCmdlineProtocol::
Public Methods | |
void | SetHost (const wxString &host, const wxString &user="", const wxString &password="") |
Sets the SMTP server and the optional login information. More... | |
virtual void | EvaluateLine (const wxString &line)=0 |
Is called for every line input. More... | |
virtual void | OnConnect (wxSocketEvent &event)=0 |
Is called if successfully connected to the server. More... | |
void | OnInput (wxSocketEvent &event) |
This method is called if new data is available on the socket. More... | |
void | OnSocketEvent (wxSocketEvent &event) |
Message handler for wxWindows socket events. More... | |
void | Write (const wxString &msg) |
Writes the specified string to the socket. More... |
Definition at line 20 of file cmdprot.h.
|
Is called for every line input.
Reimplemented in wxSMTP. Referenced by OnInput(). |
|
Is called if successfully connected to the server.
Reimplemented in wxSMTP. Referenced by OnSocketEvent(). |
|
This method is called if new data is available on the socket. It extracts one line, terminated by CRLF, and calls EvaluateLine.
Definition at line 68 of file cmdprot.cpp. References EvaluateLine(). Referenced by OnSocketEvent(). |
|
Message handler for wxWindows socket events.
Definition at line 99 of file cmdprot.cpp. |
|
Sets the SMTP server and the optional login information. No server connection will be established until 'Send' is called.
Definition at line 46 of file cmdprot.cpp. Referenced by SendDialog::SendDialog(). |
|
Writes the specified string to the socket.
Definition at line 117 of file cmdprot.cpp. Referenced by ConnectedState::onResponse(), wxSMTP::SendFrom(), and wxSMTP::SendNextRecipient(). |