BasicCommandHandler.handle

Receive the command from the unix socket and call appropriate handler delegate if registered.

class BasicCommandHandler
void
handle
(
cstring command
,
cstring args
,
scope void delegate
(
cstring
)
send_response
,
scope void delegate
(
ref mstring
)
wait_reply
)

Parameters

command cstring

Command received from unix socket.

args cstring

Arguments provided (if any).

send_response void delegate
(
cstring
)

Delegate to send a response to the unix socket.

wait_reply void delegate
(
ref mstring
)

delegate to get a reply from the unix socket

Meta