All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FS_ConnectedSocketListener Class Reference

#include <FS_ConnectedSocketListener.h>

+ Inheritance diagram for FS_ConnectedSocketListener:

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 ()

Detailed Description

Definition at line 30 of file FS_ConnectedSocketListener.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

FS_ConnectedSocketListener::FS_ConnectedSocketListener ( UT_NetSocket server_socket,
Callback  callback,
void callback_data = 0,
const char *  ip_mask = 0 
FS_ConnectedSocketListener::~FS_ConnectedSocketListener ( )

Member Function Documentation

bool FS_ConnectedSocketListener::areEventsWaiting ( )

Reimplemented from FS_EventGenerator.

const char* FS_ConnectedSocketListener::getClassName ( ) const

Implements FS_EventGenerator.

Definition at line 47 of file FS_ConnectedSocketListener.h.

int FS_ConnectedSocketListener::getFileDescriptor ( )

Reimplemented from FS_EventGenerator.

bool FS_ConnectedSocketListener::getIsInstalled ( ) const

Definition at line 49 of file FS_ConnectedSocketListener.h.

int FS_ConnectedSocketListener::processEvents ( )

Implements FS_EventGenerator.

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