C# Класс OnlineVideos.Sites.WebBrowserPlayerService.ServiceImplementation.WebBrowserPlayerCallbackService

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

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

Метод Описание
LogError ( Exception exceptionToLog ) : void

Request that the client logs an error

LogInfo ( string message ) : void

Request that the client logs an info message

OnBrowserClosing ( ) : void

Let the client know we're closing

SendKeyPress ( int keyPressed ) : void

Send the key press to all active callback listeners

SendWndProc ( Message msg ) : bool

Send the wndproc to all active callback listeners, return true if any listener returned true

Subscribe ( ) : bool

New client is subscribing to the callback service

Unsubscribe ( ) : bool

Client is unsubscribing from the callback service

Приватные методы

Метод Описание
GetActiveCallbacks ( ) : List

Maintain the list of active subscribers

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

LogError() публичный статический Метод

Request that the client logs an error
public static LogError ( Exception exceptionToLog ) : void
exceptionToLog System.Exception
Результат void

LogInfo() публичный статический Метод

Request that the client logs an info message
public static LogInfo ( string message ) : void
message string
Результат void

OnBrowserClosing() публичный статический Метод

Let the client know we're closing
public static OnBrowserClosing ( ) : void
Результат void

SendKeyPress() публичный статический Метод

Send the key press to all active callback listeners
public static SendKeyPress ( int keyPressed ) : void
keyPressed int
Результат void

SendWndProc() публичный статический Метод

Send the wndproc to all active callback listeners, return true if any listener returned true
public static SendWndProc ( Message msg ) : bool
msg System.Windows.Forms.Message
Результат bool

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

New client is subscribing to the callback service
public Subscribe ( ) : bool
Результат bool

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

Client is unsubscribing from the callback service
public Unsubscribe ( ) : bool
Результат bool