UnixSocketExt.addHandler

Register a command and raw handler to the unix listener.

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

Parameters

command istring

The command to listen for in the socket listener.

handler RawSocketHandler

The handler to call when command is received.

Meta