|void||addr (const Ip::Address &addr)|
|import host and port More...|
|void||opened (const Comm::ConnectionPointer &conn, const AsyncCall::Pointer &aCloser)|
|called after the socket is opened, sets up close handler More...|
|planned close: removes the close handler and calls comm_close More...|
|remove the close handler, leave connection open More...|
|channel descriptor More...|
|Comm close handler callback. More...|
FTP channel for data exchanges. This channel may be opened/closed a few times.
Constructor & Destructor Documentation
Member Function Documentation
|void Ftp::DataChannel::addr||(||const Ip::Address &||addr||)|
Handles all operations needed to properly close the active channel FD. clearing the close handler, clearing the listen socket properly, and calling comm_close
Referenced by ftpOpenListenSocket().
Member Data Documentation
A temporary handle to the connection being listened on. Closing this will also close the waiting Data channel acceptor. If a data connection has already been accepted but is still waiting in the event queue the callback will still happen and needs to be handled (usually dropped).
Referenced by ftpSendPORT().
The documentation for this class was generated from the following files: