#include <P_UDPNet.h>
Inherits Continuation.

Public Member Functions | |
| Que (UnixUDPConnection, polling_link) udp_polling | |
| Que (UnixUDPConnection, callback_link) udp_callbacks | |
| int | startNetEvent (int event, Event *data) |
| int | mainNetEvent (int event, Event *data) |
| UDPNetHandler () | |
Data Fields | |
| InkAtomicList | udpAtomicQueue |
| UDPQueue | udpOutQueue |
| InkAtomicList | udpNewConnections |
| Event * | trigger_event |
| ink_hrtime | nextCheck |
| ink_hrtime | lastCheck |
Definition at line 303 of file P_UDPNet.h.
| UDPNetHandler::UDPNetHandler | ( | ) |
Definition at line 801 of file UnixUDPNet.cc.
References UDPQueue::atomicQueue, HRTIME_MSECONDS, ink_atomiclist_init(), ink_get_hrtime_internal(), lastCheck, Continuation::mutex, new_ProxyMutex(), nextCheck, SET_HANDLER, startNetEvent(), udpNewConnections, and udpOutQueue.
| int UDPNetHandler::mainNetEvent | ( | int | event, | |
| Event * | data | |||
| ) |
Definition at line 822 of file UnixUDPNet.cc.
References UDPConnectionInternal::continuation, EventIO::data, Event::ethread, EVENT_POLL, get_UDPPollCont(), HRTIME_MSECONDS, ink_assert, ink_get_hrtime_internal(), Continuation::mutex, nextCheck, UnixUDPConnection::onCallbackQueue, PollCont::pollDescriptor, Que(), UDPConnectionInternal::refcount, UDPConnection::Release(), PollDescriptor::result, UDPQueue::service(), UDPConnection::shouldDestroy(), trigger_event, EventIO::type, EventIO::uc, UDPNetProcessorInternal::udp_callback(), UDPNetProcessorInternal::udp_read_from_net(), and udpOutQueue.
Referenced by startNetEvent().
| UDPNetHandler::Que | ( | UnixUDPConnection | , | |
| callback_link | ||||
| ) |
| UDPNetHandler::Que | ( | UnixUDPConnection | , | |
| polling_link | ||||
| ) |
Referenced by mainNetEvent().
| int UDPNetHandler::startNetEvent | ( | int | event, | |
| Event * | data | |||
| ) |
Definition at line 812 of file UnixUDPNet.cc.
References HRTIME_MSECONDS, mainNetEvent(), Event::schedule_every(), SET_HANDLER, and trigger_event.
Referenced by UDPNetHandler().
Definition at line 320 of file P_UDPNet.h.
Referenced by UDPNetHandler().
Definition at line 319 of file P_UDPNet.h.
Referenced by mainNetEvent(), and UDPNetHandler().
Definition at line 318 of file P_UDPNet.h.
Referenced by mainNetEvent(), and startNetEvent().
Definition at line 311 of file P_UDPNet.h.
Definition at line 317 of file P_UDPNet.h.
Referenced by UDPNetHandler().
Definition at line 312 of file P_UDPNet.h.
Referenced by mainNetEvent(), UDPConnection::send(), and UDPNetHandler().
1.7.1