#include <P_UnixNet.h>
Inherits Continuation.
Public Member Functions | |
PollCont (ProxyMutex *m, int pt=net_config_poll_timeout) | |
PollCont (ProxyMutex *m, NetHandler *nh, int pt=net_config_poll_timeout) | |
~PollCont () | |
int | pollEvent (int event, Event *e) |
Data Fields | |
NetHandler * | net_handler |
PollDescriptor * | pollDescriptor |
PollDescriptor * | nextPollDescriptor |
int | poll_timeout |
Definition at line 165 of file P_UnixNet.h.
PollCont::PollCont | ( | ProxyMutex * | m, | |
int | pt = net_config_poll_timeout | |||
) |
Definition at line 89 of file UnixNet.cc.
References PollDescriptor::init(), pollDescriptor, pollEvent(), and SET_HANDLER.
PollCont::PollCont | ( | ProxyMutex * | m, | |
NetHandler * | nh, | |||
int | pt = net_config_poll_timeout | |||
) |
Definition at line 95 of file UnixNet.cc.
References PollDescriptor::init(), pollDescriptor, pollEvent(), and SET_HANDLER.
PollCont::~PollCont | ( | ) |
Definition at line 102 of file UnixNet.cc.
References nextPollDescriptor, and pollDescriptor.
int PollCont::pollEvent | ( | int | event, | |
Event * | e | |||
) |
Definition at line 114 of file UnixNet.cc.
References ink_assert, likely, net_config_poll_timeout, net_handler, NetDebug, POLL_DESCRIPTOR_SIZE, poll_timeout, pollDescriptor, and PollDescriptor::result.
Referenced by PollCont().
Definition at line 167 of file P_UnixNet.h.
Referenced by pollEvent().
Definition at line 169 of file P_UnixNet.h.
Referenced by UDPReadContinuation::setupPollDescriptor(), and ~PollCont().
Definition at line 170 of file P_UnixNet.h.
Referenced by pollEvent().
Definition at line 168 of file P_UnixNet.h.
Referenced by get_PollDescriptor(), initialize_thread_for_net(), UDPNetHandler::mainNetEvent(), PollCont(), pollEvent(), and ~PollCont().