Method | Description | |
---|---|---|
DiscoveryServer ( DiscoveryMode mode ) : GlowCommon.Interfaces | ||
DoWork ( uint timeElaspedMs ) : void | ||
InvokeBroadcast ( ) : System.Threading.Tasks.Task |
Can be called by the client to try to send a message to the server to broadcast.
|
|
SetListener ( IDiscoveryServerListener listener ) : void |
Used to set a listener for broadcast messages.
|
Method | Description | |
---|---|---|
DataSocket_MessageRecieved ( |
Fired when a message is received on the socket
|
|
SendBroadcast ( ) : void | ||
SendMessage ( string message ) : System.Threading.Tasks.Task |
Send a message on the socket
|
public DiscoveryServer ( DiscoveryMode mode ) : GlowCommon.Interfaces | ||
mode | DiscoveryMode | |
return | GlowCommon.Interfaces |
public InvokeBroadcast ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public SetListener ( IDiscoveryServerListener listener ) : void | ||
listener | IDiscoveryServerListener | |
return | void |