Panda3D
|
Public Member Functions | |
Socket_fdset () | |
The constructor. | |
void | clear () |
Marks the content as empty. | |
bool | IsSetFor (const Socket_IP &incon) const |
check to see if a socket object has been marked for reading | |
void | setForSocket (const Socket_IP &incon) |
int | WaitForError (bool zeroFds, PN_uint32 sleep_time=0xffffffff) |
This is the function that will wait till one of the sockets is in error state. | |
int | WaitForRead (bool zeroFds, PN_uint32 sleep_time=0xffffffff) |
int | WaitForRead (bool zeroFds, const Time_Span &timeout) |
int | WaitForWrite (bool zeroFds, PN_uint32 sleep_time=0xffffffff) |
This is the function that will wait till one of the sockets is ready for writing. | |
Friends | |
struct | Socket_Selector |
Definition at line 19 of file socket_fdset.h.
Socket_fdset::Socket_fdset | ( | ) | [inline] |
void Socket_fdset::clear | ( | ) | [inline] |
Marks the content as empty.
Definition at line 136 of file socket_fdset.h.
Referenced by ConnectionReader::flush_read_connection(), Socket_fdset(), ConnectionManager::wait_for_readers(), Socket_Selector::WaitFor_Read_Error(), Socket_Selector::WaitFor_Write_Error(), WaitForError(), and WaitForWrite().
bool Socket_fdset::IsSetFor | ( | const Socket_IP & | incon | ) | const [inline] |
check to see if a socket object has been marked for reading
Definition at line 87 of file socket_fdset.h.
References Socket_IP::GetSocket().
int Socket_fdset::WaitForError | ( | bool | zeroFds, |
PN_uint32 | sleep_time = 0xffffffff |
||
) | [inline] |
This is the function that will wait till one of the sockets is in error state.
Definition at line 183 of file socket_fdset.h.
References clear().
int Socket_fdset::WaitForWrite | ( | bool | zeroFds, |
PN_uint32 | sleep_time = 0xffffffff |
||
) | [inline] |
This is the function that will wait till one of the sockets is ready for writing.
Definition at line 157 of file socket_fdset.h.
References clear().