Public Member Functions | Data Fields

EventIO Struct Reference

#include <P_UnixNet.h>

Collaboration diagram for EventIO:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 79 of file P_UnixNet.h.


Constructor & Destructor Documentation

EventIO::EventIO (  )  [inline]

Definition at line 107 of file P_UnixNet.h.

References data, and type.


Member Function Documentation

TS_INLINE int EventIO::close (  ) 
TS_INLINE int EventIO::modify ( int  events  ) 
TS_INLINE int EventIO::refresh ( int  events  ) 
TS_INLINE int EventIO::start ( EventLoop  l,
DNSConnection vc,
int  events 
)
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.

TS_INLINE int EventIO::start ( EventLoop  l,
NetAccept vc,
int  events 
)

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 (  ) 

Field Documentation

Definition at line 89 of file P_UnixNet.h.

union { ... } EventIO::data

Definition at line 91 of file P_UnixNet.h.

Referenced by NetHandler::mainNetEvent().

Definition at line 85 of file P_UnixNet.h.

Referenced by modify(), refresh(), start(), and stop().

Definition at line 81 of file P_UnixNet.h.

Referenced by modify(), refresh(), start(), and stop().

Definition at line 92 of file P_UnixNet.h.

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().


The documentation for this struct was generated from the following file: