DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
~Task (void) | |
TCPSocket * | createSocket (Address addr, uint16_t &port) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | acceptNewClient (TCPSocket *sock, const Address &local_addr) |
void | cleanBusyList (void) |
void | onMain (void) |
Public Attributes | |
Arguments | m_args |
std::list< TCPSocket * > | m_sockets |
Poll | m_poll |
std::list< Session * > | m_busy_list |
Mutex | m_busy_list_lock |
Static Public Attributes | |
static const int | c_port_retries |
|
inline |
|
inline |
|
inline |
References Transports::FTP::Arguments::session_tout.
|
inline |
|
inline |
|
inline |
|
inline |
References Transports::FTP::Arguments::control_port.
|
inline |
References DUNE::Concurrency::Runnable::stopAndJoin().
|
static |
Port bind retries.
std::list<Session*> Transports::FTP::Task::m_busy_list |
List of busy sessions.
Mutex Transports::FTP::Task::m_busy_list_lock |
Concurrency lock for list of busy sessions.
Poll Transports::FTP::Task::m_poll |
I/O selector.
std::list<TCPSocket*> Transports::FTP::Task::m_sockets |
Control sockets.