#include <filetransfer.h>
Inheritance diagram for MSN::FileTransferConnection:
Public Types | |
enum | Direction { MSNFTP_SEND, MSNFTP_RECV } |
Are we sending or receiving the file? More... | |
enum | Perspective { MSNFTP_SERVER, MSNFTP_CLIENT } |
Are we being connected to or connecting to them? More... | |
enum | Progress { WAITING_FOR_CONNECTION, NEGOTIATING, TRANSFERRING } |
How far through the process are we? More... | |
Public Member Functions | |
FileTransferConnection (AuthData &auth_) | |
virtual | ~FileTransferConnection () |
virtual void | connect (const std::string &hostname, unsigned int port) |
virtual void | disconnect () |
virtual void | dispatchCommand (std::vector< std::string > &args) |
Dispatch a command to its appropriate handler routines based on args. | |
virtual void | socketIsWritable () |
virtual void | socketConnectionCompleted () |
The connection has been established. | |
virtual void | dataArrivedOnSocket () |
New data is available on the connection. | |
virtual NotificationServerConnection * | myNotificationServer () |
Public Attributes | |
FileTransferConnection::AuthData | auth |
Protected Member Functions | |
virtual void | handleIncomingData () |
Classes | |
class | AuthData |
AuthData contains authentication information relating to a FileTransferConnection. More... |
|
Are we sending or receiving the file?
|
|
Are we being connected to or connecting to them?
|
|
How far through the process are we?
|
|
|
|
|
|
Implements MSN::Connection. |
|
New data is available on the connection.
Reimplemented from MSN::Connection. |
|
Implements MSN::Connection. |
|
Dispatch a command to its appropriate handler routines based on args.
Implements MSN::Connection. |
|
Implements MSN::Connection. |
|
Implements MSN::Connection. |
|
The connection has been established.
Reimplemented from MSN::Connection. |
|
Reimplemented from MSN::Connection. |
|
|