C# 클래스 Clock.AlarmService

Handles all active alarms
파일 보기 프로젝트 열기: Silveryard/SmartHome

공개 메소드들

메소드 설명
RegisterClient ( ServerInstance instance, string function ) : void

Registers a client

Start ( ) : void

Starts the service

Stop ( ) : void

Stops the service

UnregisterClient ( ServerInstance instance ) : void

Unregisters a client

비공개 메소드들

메소드 설명
AlarmDbConnector_AlarmAdded ( Alarm alarm ) : void
AlarmDbConnector_AlarmDeleted ( Alarm alarm ) : void
AlarmDbConnector_AlarmModified ( Alarm alarm ) : void
CallAlarm ( Alarm alarm ) : void
ServerInstance_InstanceClosed ( ServerInstance obj ) : void
Work ( ) : void

메소드 상세

RegisterClient() 공개 정적인 메소드

Registers a client
public static RegisterClient ( ServerInstance instance, string function ) : void
instance Networking.ServerInstance The client
function string The clients function to call
리턴 void

Start() 공개 정적인 메소드

Starts the service
public static Start ( ) : void
리턴 void

Stop() 공개 정적인 메소드

Stops the service
public static Stop ( ) : void
리턴 void

UnregisterClient() 공개 정적인 메소드

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