MessagePassingHandler

Undocumented in source.

Constructors

this
this(std.concurrency.Tid hub)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
receive
ubyte[] receive()
Undocumented in source. Be warned that the author may not have intended to support it.
send
ptrdiff_t send(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

hub
std.concurrency.Tid hub;
Undocumented in source.

Inherited Members

From Handler

sharedInstance
shared(Handler) sharedInstance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
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)
close
void close()

Closes the connection with the hub.

Meta