![]() |
MTSC
1.0.5
Build TCP servers out of modules with handlers for communication, exception and logging.
|
Public Member Functions | |
| BroadcastHandler () | |
| Creates a new instance of BroadcastHandler. More... | |
| void | Broadcast (Client client, string message) |
| Broadcast a message to all other clients connected to the server. More... | |
Definition at line 8 of file BroadcastHandler.cs.
| MTSC.Client.Handlers.BroadcastHandler.BroadcastHandler | ( | ) |
Creates a new instance of BroadcastHandler.
Definition at line 14 of file BroadcastHandler.cs.
| void MTSC.Client.Handlers.BroadcastHandler.Broadcast | ( | Client | client, |
| string | message | ||
| ) |
Broadcast a message to all other clients connected to the server.
| message | Message to be broadcasted. |
| client | Client object containing the communication channel. |
Definition at line 24 of file BroadcastHandler.cs.