HDK
 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)
 
virtual ~FS_ConnectedSocketListener ()
 
virtual const char * getClassName () const
 
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

virtual bool areEventsWaiting ()
 
virtual int processEvents ()
 
virtual int getFileDescriptor ()
 

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 28 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 31 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 
)
virtual FS_ConnectedSocketListener::~FS_ConnectedSocketListener ( )
virtual

Member Function Documentation

virtual bool FS_ConnectedSocketListener::areEventsWaiting ( )
protectedvirtual

Reimplemented from FS_EventGenerator.

virtual const char* FS_ConnectedSocketListener::getClassName ( ) const
inlinevirtual

Implements FS_EventGenerator.

Definition at line 43 of file FS_ConnectedSocketListener.h.

virtual int FS_ConnectedSocketListener::getFileDescriptor ( )
protectedvirtual

Reimplemented from FS_EventGenerator.

bool FS_ConnectedSocketListener::getIsInstalled ( ) const
inline

Definition at line 45 of file FS_ConnectedSocketListener.h.

virtual int FS_ConnectedSocketListener::processEvents ( )
protectedvirtual

Implements FS_EventGenerator.


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