randolf.ca  1.00
Randolf Richardson's C++ classes
Loading...
Searching...
No Matches
randolf::rsocket_mux_fds Struct Reference

Internal structure that rsocket_mux uses to store rsocket objects with their intended fds/fd_set relations. The vector that this structure is used to generate fds tables. More...

#include <rsocket_mux_fds>

+ Collaboration diagram for randolf::rsocket_mux_fds:

Public Member Functions

bool operator< (const rsocket_mux_fds &rmf) const
 Built-in comparison operator used by std::set for ordering rsocket objects by their underlying socket descriptors because this is what is needed for internal muxing by POSIX's select(), poll(), etc. functions.
 

Public Attributes

int fd_sets
 Flags for intended fd_set array relations (e.g., POLLIN, POLLOUT, POLLERR, etc.)
 
rsocketr
 Pointer to instantiated rsocket object.
 

Detailed Description

Internal structure that rsocket_mux uses to store rsocket objects with their intended fds/fd_set relations. The vector that this structure is used to generate fds tables.

See also
rsocket_mux

Member Function Documentation

◆ operator<()

bool randolf::rsocket_mux_fds::operator< ( const rsocket_mux_fds & rmf) const
inline

Built-in comparison operator used by std::set for ordering rsocket objects by their underlying socket descriptors because this is what is needed for internal muxing by POSIX's select(), poll(), etc. functions.

Returns
Underlying socket handle
Parameters
rmfThis rsocket_mux_fds structure

Member Data Documentation

◆ r

rsocket* randolf::rsocket_mux_fds::r

Pointer to instantiated rsocket object.

◆ fd_sets

int randolf::rsocket_mux_fds::fd_sets

Flags for intended fd_set array relations (e.g., POLLIN, POLLOUT, POLLERR, etc.)


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