C# Class Clock.TimerService

Handles all active alarms
Mostrar archivo Open project: Silveryard/SmartHome

Public Methods

Method Description
RegisterClient ( ServerInstance instance, string startedF, string stoppedF, string updatedF, string calledF ) : void

Registers a client

Start ( ) : void

Starts the service

StartTimer ( Timer timer ) : void
Stop ( ) : void

Stops the service

StopTimer ( Timer timer ) : void
UnregisterClient ( ServerInstance instance ) : void

Unregisters a client

Private Methods

Method Description
CallTimer ( Timer timer ) : void
ServerInstance_InstanceClosed ( ServerInstance obj ) : void
Work ( ) : void

Method Details

RegisterClient() public static method

Registers a client
public static RegisterClient ( ServerInstance instance, string startedF, string stoppedF, string updatedF, string calledF ) : void
instance Networking.ServerInstance The client
startedF string
stoppedF string
updatedF string
calledF string
return void

Start() public static method

Starts the service
public static Start ( ) : void
return void

StartTimer() public static method

public static StartTimer ( Timer timer ) : void
timer Timer
return void

Stop() public static method

Stops the service
public static Stop ( ) : void
return void

StopTimer() public static method

public static StopTimer ( Timer timer ) : void
timer Timer
return void

UnregisterClient() public static method

Unregisters a client
public static UnregisterClient ( ServerInstance instance ) : void
instance Networking.ServerInstance The client
return void