class SocketEvents

Defined at line 109 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

Represent a set of I/O events requested/pending on a socket.

Public Members

int Value

Public Methods

void SocketEvents ()

Constructor for the SocketEvents class.

Defined at line 125 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void SocketEvents (const SocketEvents & other)

Copy constructor for the SocketEvents class.

Defined at line 131 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

bool IsSet ()

Check if any of the bit flags for the socket events are set.

Returns

true if set, otherwise false.

Defined at line 139 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

bool IsReadable ()

Check if the bit flags indicate that the socket is readable.

Returns

true if socket is readable, otherwise false.

Defined at line 147 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

bool IsWriteable ()

Check if the bit flags indicate that the socket is writable.

Returns

true if socket is writable, otherwise false.

Defined at line 155 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

bool IsError ()

Check if the bit flags indicate that the socket has an error.

Returns

true if socket has an error, otherwise false.

Defined at line 163 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void SetRead ()

Set the read bit flag for the socket.

Defined at line 169 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void SetWrite ()

Set the write bit flag for the socket.

Defined at line 175 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void SetError ()

Set the error bit flag for the socket.

Defined at line 181 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void Clear ()

Clear the bit flags for the socket.

Defined at line 187 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void ClearRead ()

Clear the read bit flag for the socket.

Defined at line 193 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void ClearWrite ()

Clear the write bit flag for the socket.

Defined at line 199 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void ClearError ()

Clear the error bit flag for the socket.

Defined at line 205 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h

void SetFDs (int socket, int & nfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds)
SocketEvents FromFDs (int socket, fd_set * readfds, fd_set * writefds, fd_set * exceptfds)

Enumerations

enum 
Name Value
kRead 0x01
kWrite 0x02
kError 0x04

Defined at line 112 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/InetLayerBasis.h