Anope IRC Services  Version 2.0
Public Member Functions
ModePipe Class Reference
Inheritance diagram for ModePipe:
Inheritance graph
Collaboration diagram for ModePipe:
Collaboration graph

Public Member Functions

void OnNotify ()
- Public Member Functions inherited from Pipe
 Pipe ()
 ~Pipe ()
bool ProcessRead () anope_override
void Write (const char *data, size_t sz)
void Write (const Anope::string &data)
int Read (char *data, size_t sz)
bool SetWriteBlocking (bool state)
void Notify ()
- Public Member Functions inherited from Socket
 Socket ()
 Socket (int sock, bool ipv6=false, int type=SOCK_STREAM)
virtual ~Socket ()
int GetFD () const
bool IsIPv6 () const
bool SetBlocking (bool state)
void Bind (const Anope::string &ip, int port=0)
virtual bool Process ()
virtual bool ProcessWrite ()
virtual void ProcessError ()

Additional Inherited Members

- Data Fields inherited from Pipe
int write_pipe
- Data Fields inherited from Socket
std::bitset< SF_SIZEflags
sockaddrs bindaddr
- Protected Attributes inherited from Socket
int sock
bool ipv6

Detailed Description

Definition at line 310 of file modes.cpp.

Member Function Documentation

◆ OnNotify()

void ModePipe::OnNotify ( )

Called after ProcessRead comes back from Notify(), overload to do something useful

Implements Pipe.

Definition at line 313 of file modes.cpp.

References modePipe, and ModeManager::ProcessModes().

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