#include <P_UnixNet.h>
Public Member Functions | |
int | start (EventLoop l, DNSConnection *vc, int events) |
int | start (EventLoop l, NetAccept *vc, int events) |
int | start (EventLoop l, UnixNetVConnection *vc, int events) |
int | start (EventLoop l, UnixUDPConnection *vc, int events) |
int | start (EventLoop l, int fd, Continuation *c, int events) |
int | modify (int events) |
int | refresh (int events) |
int | stop () |
int | close () |
EventIO () | |
Data Fields | |
int | fd |
EventLoop | event_loop |
int | type |
union { | |
Continuation * c | |
UnixNetVConnection * vc | |
DNSConnection * dnscon | |
NetAccept * na | |
UnixUDPConnection * uc | |
} | data |
Definition at line 79 of file P_UnixNet.h.
EventIO::EventIO | ( | ) | [inline] |
Definition at line 107 of file P_UnixNet.h.
TS_INLINE int EventIO::close | ( | ) |
Definition at line 443 of file P_UnixNet.h.
References data, EVENTIO_DNS_CONNECTION, EVENTIO_NETACCEPT, EVENTIO_READWRITE_VC, ink_assert, stop(), and type.
TS_INLINE int EventIO::modify | ( | int | events | ) |
Definition at line 486 of file P_UnixNet.h.
References Debug, event_loop, and fd.
Referenced by NetHandler::mainNetEvent(), NetHandler::process_enabled_list(), read_disable(), UnixNetVConnection::reenable(), UnixNetVConnection::reenable_re(), and write_disable().
TS_INLINE int EventIO::refresh | ( | int | events | ) |
Definition at line 561 of file P_UnixNet.h.
References Debug, event_loop, and fd.
Referenced by NetHandler::mainNetEvent(), NetHandler::process_enabled_list(), read_reschedule(), UnixNetVConnection::reenable(), UnixNetVConnection::reenable_re(), and write_reschedule().
TS_INLINE int EventIO::start | ( | EventLoop | l, | |
DNSConnection * | vc, | |||
int | events | |||
) |
Definition at line 427 of file P_UnixNet.h.
References DNSConnection::fd, and type.
Referenced by UnixNetVConnection::acceptEvent(), NetAccept::acceptFastEvent(), UnixNetVConnection::connectUp(), NetAccept::init_accept_per_thread(), SSLNetAccept::init_accept_per_thread(), initialize_thread_for_net(), start(), and ClusterHandler::startClusterEvent().
TS_INLINE int EventIO::start | ( | EventLoop | l, | |
UnixUDPConnection * | vc, | |||
int | events | |||
) |
Definition at line 439 of file P_UnixNet.h.
References UDPConnectionInternal::fd, start(), and type.
TS_INLINE int EventIO::start | ( | EventLoop | l, | |
int | fd, | |||
Continuation * | c, | |||
int | events | |||
) |
Definition at line 454 of file P_UnixNet.h.
References data, Debug, event_loop, and fd.
Definition at line 431 of file P_UnixNet.h.
References Connection::fd, NetAccept::server, start(), and type.
TS_INLINE int EventIO::start | ( | EventLoop | l, | |
UnixNetVConnection * | vc, | |||
int | events | |||
) |
Definition at line 435 of file P_UnixNet.h.
References UnixNetVConnection::con, Connection::fd, start(), and type.
TS_INLINE int EventIO::stop | ( | ) |
Definition at line 600 of file P_UnixNet.h.
References Debug, event_loop, and fd.
Referenced by close(), close_UnixNetVConnection(), DNSHandler::open_con(), UDPConnection::Release(), and ClusterHandler::startClusterEvent().
Definition at line 89 of file P_UnixNet.h.
union { ... } EventIO::data |
Referenced by close(), EventIO(), UDPNetHandler::mainNetEvent(), NetHandler::mainNetEvent(), and start().
Definition at line 91 of file P_UnixNet.h.
Referenced by NetHandler::mainNetEvent().
int EventIO::fd |
Definition at line 92 of file P_UnixNet.h.
int EventIO::type |
Definition at line 86 of file P_UnixNet.h.
Referenced by close(), EventIO(), initialize_thread_for_net(), UDPNetHandler::mainNetEvent(), NetHandler::mainNetEvent(), and start().
Definition at line 93 of file P_UnixNet.h.
Referenced by UDPNetHandler::mainNetEvent().
Definition at line 90 of file P_UnixNet.h.
Referenced by NetHandler::mainNetEvent().