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

#include <CMD_ServerSocketCommandListener.h>

+ Inheritance diagram for CMD_ServerSocketCommandListener:

Public Member Functions

virtual const char * className () const
bool getRestrictToSafeCommands () const
void setRestrictToSafeCommands (bool restrict_to_safe_cmds)
- Public Member Functions inherited from FS_ServerSocketListener
 ~FS_ServerSocketListener () override
const char * getClassName () const override
int getPort () const
int getRequestedPort () const
const UT_StringgetIPMask () const
void closeSocketOnChildExit (pid_t child_pid, bool delete_on_child_exit=false, ChildExitedCallback child_exited_callback=0, void *callback_data=0)
bool areEventsWaiting () override
int processEvents () override
int getFileDescriptor () override
int getPollTime () override
- Public Member Functions inherited from FS_EventGenerator
 FS_EventGenerator ()
virtual ~FS_EventGenerator ()
int installGenerator ()
void uninstallGenerator ()
void pollEventLoop (bool drain_queue=true)

Static Public Member Functions

createCommandListener (int port, CMD_Manager &command_manager, bool separate_errors=false, bool restrict_to_safe_commands=false, const char *ip_mask=0, bool remap_privileged_ports=true, bool browser_mode=false)
- Static Public Member Functions inherited from FS_ServerSocketListener
static FS_ServerSocketListenercreateSocketListener (int port, FS_ConnectedSocketListener::Callback callback, void *callback_data=0, const char *ip_mask=0, bool remap_privileged_ports=false)
- Static Public Member Functions inherited from FS_EventGenerator
static void setInstaller (FS_EventInstaller installer)
static void setEventLoopPollCallback (FS_PollCallback callback)
static bool isEventLoopPollCallbackSet ()

Additional Inherited Members

- Public Types inherited from FS_ServerSocketListener
typedef void(* ChildExitedCallback )(FS_ServerSocketListener &, void *callback_data, bool listener_forced_to_close)
- Protected Member Functions inherited from FS_ServerSocketListener
 FS_ServerSocketListener (UT_NetSocket *server_socket, int requested_port, FS_ConnectedSocketListener::Callback callback, void *callback_data, const char *ip_mask)
UT_NetSocketgetServerSocket ()

Detailed Description

Definition at line 25 of file CMD_ServerSocketCommandListener.h.

Member Function Documentation

virtual const char* CMD_ServerSocketCommandListener::className ( ) const

Definition at line 47 of file CMD_ServerSocketCommandListener.h.

static CMD_ServerSocketCommandListener* CMD_ServerSocketCommandListener::createCommandListener ( int  port,
CMD_Manager command_manager,
bool  separate_errors = false,
bool  restrict_to_safe_commands = false,
const char *  ip_mask = 0,
bool  remap_privileged_ports = true,
bool  browser_mode = false 
bool CMD_ServerSocketCommandListener::getRestrictToSafeCommands ( ) const

Definition at line 50 of file CMD_ServerSocketCommandListener.h.

void CMD_ServerSocketCommandListener::setRestrictToSafeCommands ( bool  restrict_to_safe_cmds)

Definition at line 52 of file CMD_ServerSocketCommandListener.h.

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