C# Класс Clock.TimeService

Handles automatic updating of time on clients
Показать файл Открыть проект

Открытые методы

Метод Описание
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