HDK
|
#include <FS_ConnectedSocketListener.h>
Public Types | |
typedef void(* | Callback )(void *callback_data, const char *data, int length, UT_NetSocket &connection_socket) |
Public Member Functions | |
FS_ConnectedSocketListener (UT_NetSocket &server_socket, Callback callback, void *callback_data=0, const char *ip_mask=0) | |
~FS_ConnectedSocketListener () override | |
const char * | getClassName () const override |
bool | getIsInstalled () const |
Public Member Functions inherited from FS_EventGenerator | |
FS_EventGenerator () | |
virtual | ~FS_EventGenerator () |
virtual int | getPollTime () |
int | installGenerator () |
void | uninstallGenerator () |
void | pollEventLoop (bool drain_queue=true) |
Protected Member Functions | |
bool | areEventsWaiting () override |
int | processEvents () override |
int | getFileDescriptor () override |
Additional Inherited Members | |
Static Public Member Functions inherited from FS_EventGenerator | |
static void | setInstaller (FS_EventInstaller installer) |
static void | setEventLoopPollCallback (FS_PollCallback callback) |
static bool | isEventLoopPollCallbackSet () |
Definition at line 30 of file FS_ConnectedSocketListener.h.
typedef void(* FS_ConnectedSocketListener::Callback)(void *callback_data, const char *data, int length, UT_NetSocket &connection_socket) |
Definition at line 33 of file FS_ConnectedSocketListener.h.
FS_ConnectedSocketListener::FS_ConnectedSocketListener | ( | UT_NetSocket & | server_socket, |
Callback | callback, | ||
void * | callback_data = 0 , |
||
const char * | ip_mask = 0 |
||
) |
|
override |
|
overrideprotectedvirtual |
Reimplemented from FS_EventGenerator.
|
inlineoverridevirtual |
Implements FS_EventGenerator.
Definition at line 47 of file FS_ConnectedSocketListener.h.
|
overrideprotectedvirtual |
Reimplemented from FS_EventGenerator.
|
inline |
Definition at line 49 of file FS_ConnectedSocketListener.h.
|
overrideprotectedvirtual |
Implements FS_EventGenerator.