C# 클래스 OnlineVideos.Sites.WebBrowserPlayerService.ServiceImplementation.WebBrowserPlayerCallbackService

상속: IWebBrowserPlayerCallbackService
파일 보기 프로젝트 열기: offbyoneBB/mp-onlinevideos2

공개 메소드들

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