C# 클래스 OpenQA.Selenium.Remote.Server.RemoteServer

Handles requests from remote clients to perform automated tests.
상속: IDisposable
파일 보기 프로젝트 열기: jimevans/strontium

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resources associated with this RemoteServer.

RegisterWithHub ( string hubLocation ) : void

Registers this server with a grid hub.

StartListening ( ) : void

Starts the remote server listening for requests.

StopListening ( ) : void

Stops the remote server listening for requests.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases all managed and unmanaged resources associated with this RemoteServer.

OnShutdownRequested ( EventArgs e ) : void

Raises the ShutdownRequested event.

RemoteServer ( int port, string path, CommandHandlerFactory handlerFactory ) : System

Initializes a new instance of the RemoteServer class using the specified port and relative path.

RemoteServer ( int port, string path, CommandHandlerFactory handlerFactory, Logger log ) : System

Initializes a new instance of the RemoteServer class using the specified port and relative path.

RemoteServer ( string basePath, int port, string path, CommandHandlerFactory handlerFactory, Logger log ) : System

Initializes a new instance of the RemoteServer class using the specified port, relative path, and logger.

비공개 메소드들

메소드 설명
ConstructDispatcherTables ( string prefix ) : void
CreateErrorResponse ( string commandName, Exception ex ) : ErrorResponse
DispatchRequest ( Uri resourcePath, string httpMethod, string requestBody ) : ServerResponse
FindDispatcherTable ( string httpMethod ) : System.UriTemplateTable
GetIPAddressList ( ) : List
OnClientConnect ( IAsyncResult result ) : void
ProcessContext ( HttpListenerContext context ) : void

메소드 상세

Dispose() 공개 메소드

Releases all resources associated with this RemoteServer.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases all managed and unmanaged resources associated with this RemoteServer.
protected Dispose ( bool disposing ) : void
disposing bool to dispose of managed and /// unmanaged resources; to dispose of only unmanaged /// resources.
리턴 void

OnShutdownRequested() 보호된 메소드

Raises the ShutdownRequested event.
protected OnShutdownRequested ( EventArgs e ) : void
e System.EventArgs An object describing the event.
리턴 void

RegisterWithHub() 공개 메소드

Registers this server with a grid hub.
public RegisterWithHub ( string hubLocation ) : void
hubLocation string The location of the hub.
리턴 void

RemoteServer() 보호된 메소드

Initializes a new instance of the RemoteServer class using the specified port and relative path.
protected RemoteServer ( int port, string path, CommandHandlerFactory handlerFactory ) : System
port int The port to listen on.
path string The relative path to connect to.
handlerFactory CommandHandlerFactory A used to create instances for handling commands.
리턴 System

RemoteServer() 보호된 메소드

Initializes a new instance of the RemoteServer class using the specified port and relative path.
protected RemoteServer ( int port, string path, CommandHandlerFactory handlerFactory, Logger log ) : System
port int The port to listen on.
path string The relative path to connect to.
handlerFactory CommandHandlerFactory A used to create instances for handling commands.
log Logger A used to log information in the server.
리턴 System

RemoteServer() 보호된 메소드

Initializes a new instance of the RemoteServer class using the specified port, relative path, and logger.
protected RemoteServer ( string basePath, int port, string path, CommandHandlerFactory handlerFactory, Logger log ) : System
basePath string The base path of the server to listen on.
port int The port to listen on.
path string The relative path to connect to.
handlerFactory CommandHandlerFactory A used to create instances for handling commands.
log Logger A object describing how to log information about commands executed.
리턴 System

StartListening() 공개 메소드

Starts the remote server listening for requests.
public StartListening ( ) : void
리턴 void

StopListening() 공개 메소드

Stops the remote server listening for requests.
public StopListening ( ) : void
리턴 void