C# Class Networking.Server

Afficher le fichier Open project: Silveryard/SmartHome Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ServerInstance instance ) : void

Closes the connection to one client

Server ( ) : System

Creates a new instance

Start ( ) : void

Starts the server

Stop ( ) : void

Stops the server

Private Methods

Méthode Description
ServerInstance_InstanceClosed ( ServerInstance obj ) : void
ServerInstance_MessageReceived ( ServerInstance arg1, byte arg2 ) : void
Work ( ) : void

Method Details

Close() public méthode

Closes the connection to one client
public Close ( ServerInstance instance ) : void
instance ServerInstance The connection to close
Résultat void

Server() public méthode

Creates a new instance
public Server ( ) : System
Résultat System

Start() public méthode

Starts the server
public Start ( ) : void
Résultat void

Stop() public méthode

Stops the server
public Stop ( ) : void
Résultat void