InspIRCd  3.0
Public Member Functions | List of all members
ThreadSignalSocket Class Reference
Inheritance diagram for ThreadSignalSocket:
EventHandler classbase

Public Member Functions

 ThreadSignalSocket (SocketThread *p, int recvfd, int sendfd)
 
void Notify ()
 
void OnEventHandlerRead () CXX11_OVERRIDE
 
void OnEventHandlerWrite () CXX11_OVERRIDE
 
void OnEventHandlerError (int errcode) CXX11_OVERRIDE
 
 ThreadSignalSocket (SocketThread *t, int newfd)
 
void OnDataReady ()
 
void OnError (BufferedSocketError)
 
- Public Member Functions inherited from EventHandler
int GetFd () const
 
int GetEventMask () const
 
void SetFd (int FD)
 
 EventHandler ()
 
virtual ~EventHandler ()
 
- Public Member Functions inherited from classbase
virtual CullResult cull ()
 

Additional Inherited Members

- Protected Member Functions inherited from EventHandler
void SwapInternals (EventHandler &other)
 
- Protected Attributes inherited from EventHandler
int fd
 

Member Function Documentation

◆ OnEventHandlerError()

void ThreadSignalSocket::OnEventHandlerError ( int  errornum)
inlinevirtual

Called by the socket engine in case of an error event. The default implementation does nothing.

Parameters
errornumError code

Reimplemented from EventHandler.

◆ OnEventHandlerRead()

void ThreadSignalSocket::OnEventHandlerRead ( )
inlinevirtual

Called by the socket engine in case of a read event

Implements EventHandler.

◆ OnEventHandlerWrite()

void ThreadSignalSocket::OnEventHandlerWrite ( )
inlinevirtual

Called by the socket engine in case of a write event. The default implementation does nothing.

Reimplemented from EventHandler.


The documentation for this class was generated from the following files: