#include <socketevents.h>

Protected Member Functions | |
| virtual int | onReceive (Socket &sock, int dtlen)=0 |
| virtual int | onNewConnection (Socket &sock)=0 |
| virtual int | onWriteComplete (Socket &sock)=0 |
| virtual int | onClose (Socket &sock)=0 |
| virtual int | onError (Socket &sock)=0 |
| virtual int | onRawReceive (Socket &sock)=0 |
| virtual int | onSelectEvent (SocketEventsHandler::socket_extra_t *sock_extra, SocketEventsHandler::check_for_t cause) |
Friends | |
| class | SocketEventsHandler |
Definition at line 17 of file socketevents.h.
| int n2nc::net::SocketEvents::onSelectEvent | ( | SocketEventsHandler::socket_extra_t * | sock_extra, | |
| SocketEventsHandler::check_for_t | cause | |||
| ) | [protected, virtual] |
when returns 0
NOTE defaulting to get the socket disabled in select polling to avoid possible uncontrolled loops.
Definition at line 15 of file socketevents.cpp.
References n2nc::net::SocketEventsHandler::EXCEPT, n2nc::net::SocketEventsHandler::NOTHING, n2nc::net::SocketEventsHandler::READ, and n2nc::net::SocketEventsHandler::WRITE.
1.5.5