C# 클래스 Clock.TimeService

Handles automatic updating of time on clients
파일 보기 프로젝트 열기: Silveryard/SmartHome

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
ServerInstance_InstanceClosed ( ServerInstance obj ) : void
Work ( ) : void

메소드 상세

Register() 공개 정적인 메소드

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

Start() 공개 정적인 메소드

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

Stop() 공개 정적인 메소드

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

Unregister() 공개 정적인 메소드

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