Handler

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

close
void close()

Closes the connection with the hub.

receive
ubyte[] receive()

Receives the next packet when there's one available. This action is blocking.

receiveLoop
void receiveLoop(std.concurrency.Tid server)

Starts a new thread and send a new message to the server when a new packet arrives.

send
ptrdiff_t send(ubyte[] buffer)

Properties

sharedInstance
shared(Handler) sharedInstance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta