Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Releases all resources associated with this ExtensionConnection.
|
|
ExtensionConnection ( ILock lockObject, FirefoxBinary binary, FirefoxProfile profile, string host ) : System |
Initializes a new instance of the ExtensionConnection class.
|
|
Quit ( ) : void |
Closes the connection to the extension.
|
|
SendMessageAndWaitForResponse ( |
Sends a message to the extension and waits for a response.
|
Метод | Описание | |
---|---|---|
Connect ( |
||
ConnectToBrowser ( long timeToWaitInMilliSeconds ) : void | ||
DetermineNextFreePort ( string host, int port ) : int | ||
GetNextResponse ( ) : System.Net.Response | ||
ObtainLoopbackAddresses ( int port ) : List |
||
ReadLoop ( string commandName ) : System.Net.Response | ||
ReadNextLine ( ) : string | ||
SendMessage ( Command command ) : void | ||
SetAddress ( string host, int port ) : void | ||
WaitForResponseForCommand ( string commandName ) : System.Net.Response |
public ExtensionConnection ( ILock lockObject, FirefoxBinary binary, FirefoxProfile profile, string host ) : System | ||
lockObject | ILock | An |
binary | FirefoxBinary | The |
profile | FirefoxProfile | The |
host | string | The name of the host on which to connect to the Firefox extension (usually "localhost"). |
Результат | System |
public SendMessageAndWaitForResponse ( |
||
throwOnFailure | The |
|
command | Command | The |
Результат | System.Net.Response |