C# Класс Examples.ControlClientIdentityChecks.ServerHandlerDefault

Наследование: IServerHandler
Показать файл Открыть проект

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

Метод Описание
OnActive ( IRegisteredHandler registeredHandler ) : void

Called when the handler has been registered at the server and is now active. A session can register at most one a single handler of each type. If there is already a handler registered for the topic path the operation will fail, the registered handler will be closed, and the session error handler will be notified. To change the handler, first close the previous handler.

OnClose ( ) : void

Called if the handler is closed. This happens if the call to register the handler fails, or the handler is unregistered.

Описание методов

OnActive() публичный Метод

Called when the handler has been registered at the server and is now active. A session can register at most one a single handler of each type. If there is already a handler registered for the topic path the operation will fail, the registered handler will be closed, and the session error handler will be notified. To change the handler, first close the previous handler.
public OnActive ( IRegisteredHandler registeredHandler ) : void
registeredHandler IRegisteredHandler
Результат void

OnClose() публичный Метод

Called if the handler is closed. This happens if the call to register the handler fails, or the handler is unregistered.
public OnClose ( ) : void
Результат void