Flutter Engine
The Flutter Engine
|
Public Member Functions | |
void | addVmServiceListener (VmServiceListener listener) |
void | removeVmServiceListener (VmServiceListener listener) |
void | addServiceRunner (String service, RemoteServiceRunner runner) |
void | removeServiceRunner (String service) |
Version | getRuntimeVersion () |
void | disconnect () |
void | getInstance (String isolateId, String instanceId, final GetInstanceConsumer consumer) |
void | getLibrary (String isolateId, String libraryId, final GetLibraryConsumer consumer) |
abstract void | getObject (String isolateId, String objectId, GetObjectConsumer consumer) |
void | callServiceExtension (String isolateId, String method, ServiceExtensionConsumer consumer) |
void | callServiceExtension (String isolateId, String method, JsonObject params, ServiceExtensionConsumer consumer) |
void | connectionOpened () |
void | connectionClosed () |
Static Public Member Functions | |
static VmService | connect (final String url) throws IOException |
static VmService | localConnect (int port) throws IOException |
Protected Member Functions | |
void | request (String method, JsonObject params, Consumer consumer) |
String | removeNewLines (String str) |
Package Functions | |
abstract void | forwardResponse (Consumer consumer, String type, JsonObject json) |
void | logUnknownResponse (Consumer consumer, JsonObject json) |
void | processMessage (String jsonText) |
void | processRequest (JsonObject json) |
void | processNotification (JsonObject json) |
void | processResponse (JsonObject json) |
Package Attributes | |
RequestSink | requestSink |
Version | runtimeVersion |
Additional Inherited Members | |
Static Public Attributes inherited from org.dartlang.vm.service.internal.VmServiceConst | |
static final String | CODE = "code" |
static final String | ERROR = "error" |
static final String | EVENT = "event" |
static final String | ID = "id" |
static final String | MESSAGE = "message" |
static final String | METHOD = "method" |
static final String | PARAMS = "params" |
static final String | RESULT = "result" |
static final String | STREAM_ID = "streamId" |
static final String | TYPE = "type" |
static final String | JSONRPC = "jsonrpc" |
static final String | JSONRPC_VERSION = "2.0" |
static final String | DATA = "data" |
static final int | PARSE_ERROR = -32700 |
static final int | INVALID_REQUEST = -32600 |
static final int | METHOD_NOT_FOUND = -32601 |
static final int | INVALID_PARAMS = -32602 |
static final int | SERVER_ERROR = -32000 |
Internal VmService
base class containing non-generated code.
Definition at line 45 of file VmServiceBase.java.
|
inline |
Add a VM RemoteServiceRunner.
Definition at line 217 of file VmServiceBase.java.
|
inline |
Add a listener to receive Event
s from the VM.
Definition at line 203 of file VmServiceBase.java.
|
inline |
Invoke a specific service protocol extension method.
See https://api.dart.dev/stable/dart-developer/dart-developer-library.html.
Definition at line 314 of file VmServiceBase.java.
|
inline |
Invoke a specific service protocol extension method.
See https://api.dart.dev/stable/dart-developer/dart-developer-library.html.
Definition at line 303 of file VmServiceBase.java.
|
inlinestatic |
Connect to the VM observatory service via the specified URI
null
). Definition at line 51 of file VmServiceBase.java.
|
inline |
Definition at line 362 of file VmServiceBase.java.
|
inline |
Definition at line 342 of file VmServiceBase.java.
|
inline |
Disconnect from the VM observatory service.
Definition at line 238 of file VmServiceBase.java.
|
abstractpackage |
|
inline |
Return the instance with the given identifier.
Definition at line 245 of file VmServiceBase.java.
|
inline |
Return the library with the given identifier.
Definition at line 272 of file VmServiceBase.java.
|
abstract |
|
inline |
Return the VM service protocol version supported by the current debug connection.
Definition at line 231 of file VmServiceBase.java.
|
inlinestatic |
Connect to the VM observatory service on the given local port.
null
).VmServiceBase#connect
Definition at line 163 of file VmServiceBase.java.
|
inlinepackage |
Definition at line 374 of file VmServiceBase.java.
|
inlinepackage |
Process the response from the VM service and forward that response to the consumer associated with the response id.
Definition at line 389 of file VmServiceBase.java.
|
inlinepackage |
Definition at line 529 of file VmServiceBase.java.
|
inlinepackage |
Definition at line 428 of file VmServiceBase.java.
|
inlinepackage |
Definition at line 579 of file VmServiceBase.java.
|
inlineprotected |
Definition at line 575 of file VmServiceBase.java.
|
inline |
Remove a VM RemoteServiceRunner.
Definition at line 224 of file VmServiceBase.java.
|
inline |
Remove the given listener from the VM.
Definition at line 210 of file VmServiceBase.java.
|
inlineprotected |
Sends the request and associates the request with the passed Consumer
.
Definition at line 322 of file VmServiceBase.java.
|
package |
The channel through which observatory requests are made.
Definition at line 196 of file VmServiceBase.java.
|
package |
Definition at line 198 of file VmServiceBase.java.