UnixSocketExt

ditto

Constructors

this
this()

Constructor

Members

Aliases

Handler
alias Handler = UnixSocketCommands.Handler

Handler delegate

InteractiveHandler
alias InteractiveHandler = UnixSocketCommands.InteractiveHandler

Interactive handler delegate

RawSocketHandler
alias RawSocketHandler = UnixSocketCommands.RawSocketHandler

RawSocketHandler delegate

Functions

addHandler
void addHandler(istring command, Handler handler)
addHandler
void addHandler(istring command, InteractiveHandler handler)
addHandler
void addHandler(istring command, RawSocketHandler handler)

Register a command and raw handler to the unix listener.

atExit
void atExit(IApplication app, istring[] args, int status, ExitException exception)

Shut down the unix listener upon exit of the application.

filterConfigFiles
istring[] filterConfigFiles(IApplication app, ConfigParser config, istring[] files)

Unused IConfigExtExtension method to satisfy interface.

initializeSocket
void initializeSocket(EpollSelectDispatcher epoll)

Initializes the socket listener.

onExitException
ExitException onExitException(IApplication app, istring[] args, ExitException exception)

Unused IApplicationExtension methods to satisfy interface.

order
int order()

Return: Use the default ordering.

postRun
void postRun(IApplication app, istring[] args, int status)

Unused IApplicationExtension methods to satisfy interface.

preParseConfig
void preParseConfig(IApplication app, ConfigParser config)

Unused IConfigExtExtension method to satisfy interface.

preRun
void preRun(IApplication app, istring[] args)

Unused IApplicationExtension methods to satisfy interface.

processConfig
void processConfig(IApplication app, ConfigParser config)

Setup the unix socket listener if the config for the socket path exists.

removeHandler
void removeHandler(istring command)

Unregisters a command and handler to the unix listener.

Inherited Members

From IApplicationExtension

IApplication
alias IApplication = .IApplication

Alias of IApplication, for use by implementing classes without needing to import ocean.util.app.model.IApplication.

preRun
void preRun(IApplication app, istring[] args)

Function executed before the program runs.

postRun
void postRun(IApplication app, istring[] args, int status)

Function executed after the program runs.

atExit
void atExit(IApplication app, istring[] args, int status, ExitException exception)

Function executed at program exit.

onExitException
ExitException onExitException(IApplication app, istring[] args, ExitException exception)

Function executed if (and only if) an ExitException was thrown.

From IConfigExtExtension

preParseConfig
void preParseConfig(IApplication app, ConfigParser config)

Function executed before the configuration files are parsed.

filterConfigFiles
istring[] filterConfigFiles(IApplication app, ConfigParser config, istring[] files)

Function to filter the list of configuration files to parse.

processConfig
void processConfig(IApplication app, ConfigParser config)

Function executed after the configuration files are parsed.

Meta