C# Class Clock.TimeService

Handles automatic updating of time on clients
Afficher le fichier Open project: Silveryard/SmartHome

Méthodes publiques

Méthode Description
Register ( ServerInstance instance, string function ) : void

Registers a new client

Start ( ) : void

Starts the service

Stop ( ) : void

Stops the service

Unregister ( ServerInstance instance ) : void

Unregisters a client

Private Methods

Méthode Description
ServerInstance_InstanceClosed ( ServerInstance obj ) : void
Work ( ) : void

Method Details

Register() public static méthode

Registers a new client
public static Register ( ServerInstance instance, string function ) : void
instance Networking.ServerInstance The client
function string The clients function
Résultat void

Start() public static méthode

Starts the service
public static Start ( ) : void
Résultat void

Stop() public static méthode

Stops the service
public static Stop ( ) : void
Résultat void

Unregister() public static méthode

Unregisters a client
public static Unregister ( ServerInstance instance ) : void
instance Networking.ServerInstance The client
Résultat void