|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...|
Common code for FTP server control and data channels. Does not own the channel descriptor, which is managed by Ftp::Client.
Member Function Documentation
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().
|void Ftp::Channel::opened||(||const Comm::ConnectionPointer &||conn,|
|const AsyncCall::Pointer &||aCloser|
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: