UnixSocketExt.addHandler

Register a command and raw handler to the unix listener.

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

Parameters

command string

The command to listen for in the socket listener.

handler RawSocketHandler

The handler to call when command is received.

Meta