MessageHandler

Undocumented in source.

Constructors

this
this(BesterServer server, string executablePath, string socketPath, string pluginName)
Undocumented in source.

Members

Functions

getNewSocket
Socket getNewSocket()
Undocumented in source. Be warned that the author may not have intended to support it.
getPluginName
string getPluginName()
Undocumented in source. Be warned that the author may not have intended to support it.
getSocket
Socket getSocket()
Undocumented in source. Be warned that the author may not have intended to support it.
handleMessage
HandlerResponse handleMessage(JSONValue payload)

Sends the payload to the designated message handler and gets the response message from the handler and returns it.

Static functions

constructHandlers
MessageHandler[] constructHandlers(BesterServer server, JSONValue handlerBlock)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

server
BesterServer server;
Undocumented in source.
socketPath
string socketPath;
Undocumented in source.

Meta