public class NewProfileExtensionConnection extends Object implements ExtensionConnection, NeedsLocalLogs
| 构造器和说明 |
|---|
NewProfileExtensionConnection(Lock lock,
FirefoxBinary binary,
FirefoxProfile profile,
String host) |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
execute(Command command) |
URI |
getAddressOfRemoteServer() |
boolean |
isConnected() |
void |
quit()
Terminates the connection.
|
void |
setLocalLogs(LocalLogs logs) |
void |
start()
Establishes a connection to the extension.
|
public NewProfileExtensionConnection(Lock lock, FirefoxBinary binary, FirefoxProfile profile, String host) throws Exception
Exceptionpublic void start()
throws IOException
ExtensionConnectionstart 在接口中 ExtensionConnectionIOException - If an I/O error occurs.public Response execute(Command command) throws IOException
execute 在接口中 CommandExecutorIOExceptionpublic void quit()
ExtensionConnectionquit 在接口中 ExtensionConnectionpublic boolean isConnected()
isConnected 在接口中 ExtensionConnectionpublic void setLocalLogs(LocalLogs logs)
setLocalLogs 在接口中 NeedsLocalLogspublic URI getAddressOfRemoteServer()
getAddressOfRemoteServer 在接口中 ExtensionConnection