CommandsRegistry.addHandler

Register a command and interactive handler to the unix listener.

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

Parameters

command istring

The command to listen for in the socket listener.

handler InteractiveHandler

The interactive handler to call when command is received.

Meta