CommandsRegistry.addHandler

Register a command and interactive handler to the unix listener.

  1. void addHandler(string command, InteractiveHandler handler)
    class CommandsRegistry
    void
    addHandler
  2. void addHandler(string command, Handler handler)
  3. void addHandler(string command, RawSocketHandler handler)

Parameters

command string

The command to listen for in the socket listener.

handler InteractiveHandler

The interactive handler to call when command is received.

Meta