MTSC  1.0.5
Build TCP servers out of modules with handlers for communication, exception and logging.
MTSC.Client.Handlers.BroadcastHandler Class Reference
Inheritance diagram for MTSC.Client.Handlers.BroadcastHandler:
MTSC.Client.Handlers.IHandler

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...
 

Detailed Description

Definition at line 8 of file BroadcastHandler.cs.

Constructor & Destructor Documentation

◆ BroadcastHandler()

MTSC.Client.Handlers.BroadcastHandler.BroadcastHandler ( )

Creates a new instance of BroadcastHandler.

Definition at line 14 of file BroadcastHandler.cs.

Member Function Documentation

◆ Broadcast()

void MTSC.Client.Handlers.BroadcastHandler.Broadcast ( Client  client,
string  message 
)

Broadcast a message to all other clients connected to the server.

Parameters
messageMessage to be broadcasted.
clientClient object containing the communication channel.

Definition at line 24 of file BroadcastHandler.cs.


The documentation for this class was generated from the following file: