E-MailRelay
Public Member Functions | List of all members
GNet::Listeners Class Reference

Used by GNet::MultiServer to represent a set of listening inputs (fd, interface or address). More...

Public Member Functions

 Listeners (Interfaces &, const G::StringArray &, unsigned int port)
 
bool empty () const
 
bool defunct () const
 
bool idle () const
 
bool hasBad () const
 
std::string badName () const
 
bool hasEmpties () const
 
std::string logEmpties () const
 
bool noUpdates () const
 
const std::vector< int > & fds () const
 
const std::vector< Address > & fixed () const
 
const std::vector< Address > & dynamic () const
 

Detailed Description

Used by GNet::MultiServer to represent a set of listening inputs (fd, interface or address).

Definition at line 36 of file gmultiserver.cpp.

Constructor & Destructor Documentation

◆ Listeners()

GNet::Listeners::Listeners ( Interfaces if_,
const G::StringArray listener_list,
unsigned int  port 
)

Definition at line 319 of file gmultiserver.cpp.

Member Function Documentation

◆ badName()

std::string GNet::Listeners::badName ( ) const

Definition at line 427 of file gmultiserver.cpp.

◆ defunct()

bool GNet::Listeners::defunct ( ) const

Definition at line 398 of file gmultiserver.cpp.

◆ dynamic()

const std::vector< GNet::Address > & GNet::Listeners::dynamic ( ) const

Definition at line 452 of file gmultiserver.cpp.

◆ empty()

bool GNet::Listeners::empty ( ) const

Definition at line 393 of file gmultiserver.cpp.

◆ fds()

const std::vector< int > & GNet::Listeners::fds ( ) const

Definition at line 442 of file gmultiserver.cpp.

◆ fixed()

const std::vector< GNet::Address > & GNet::Listeners::fixed ( ) const

Definition at line 447 of file gmultiserver.cpp.

◆ hasBad()

bool GNet::Listeners::hasBad ( ) const

Definition at line 422 of file gmultiserver.cpp.

◆ hasEmpties()

bool GNet::Listeners::hasEmpties ( ) const

Definition at line 432 of file gmultiserver.cpp.

◆ idle()

bool GNet::Listeners::idle ( ) const

Definition at line 403 of file gmultiserver.cpp.

◆ logEmpties()

std::string GNet::Listeners::logEmpties ( ) const

Definition at line 437 of file gmultiserver.cpp.

◆ noUpdates()

bool GNet::Listeners::noUpdates ( ) const

Definition at line 408 of file gmultiserver.cpp.


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