Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | GlowCommon.Interfaces |
public DoWork ( uint timeElaspedMs ) : void | ||
timeElaspedMs | uint | |
Результат | void |
public InvokeBroadcast ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public SetListener ( IDiscoveryServerListener listener ) : void | ||
listener | IDiscoveryServerListener | |
Результат | void |