Class RemoteGrobberClientServer
Hierarchy
-
RemoteGrobberClientServer
Constructors
constructor
-
Parameters
-
-
Default value portName: string = "grobber"
Properties
Private portName
portName: string
Methods
Private handleConnect
- handleConnect(port: Port): void
Private handleMessage
- handleMessage(message: Message, port: Port): Promise<void>
-
Parameters
Returns Promise<void>
Private performProcedure
- performProcedure(procedure: string, body: any): Promise<any>
-
Parameters
-
procedure: string
-
body: any
Returns Promise<any>
"Server" which receives messages from the client and calls the methods on GrobberClient.
RemoteGrobberClient
**Must call RemoteGrobberClientServer.serve to start serving!