Wraps a SuperPeer1 to provide a Sync1BinaryInterface.
SuperPeer1
Sync1BinaryInterface
This makes makes it easier to sync across binary network transports such as TCP or WebSockets.
You should create a new SuperPeer1BinaryWrapper around the same SuperPeer1 for every client connection.
SuperPeer1BinaryWrapper
Should be called to unsubscribe all of the subscriptions made through this wrapper when you are done with it.
Send a message to the server.
Register a callback that will be triggered when a message comes in from the server.
Wraps a
SuperPeer1
to provide aSync1BinaryInterface
.This makes makes it easier to sync across binary network transports such as TCP or WebSockets.
You should create a new
SuperPeer1BinaryWrapper
around the sameSuperPeer1
for every client connection.