Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
pkg
vm_service
java
src
org
dartlang
vm
service
RemoteServiceCompleter.java
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017, the Dart project authors.
3
*
4
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
5
* in compliance with the License. You may obtain a copy of the License at
6
*
7
* http://www.eclipse.org/legal/epl-v10.html
8
*
9
* Unless required by applicable law or agreed to in writing, software distributed under the License
10
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
* or implied. See the License for the specific language governing permissions and limitations under
12
* the License.
13
*/
14
package
org.dartlang.vm.service;
15
16
import
com.google.gson.JsonObject;
17
18
public
interface
RemoteServiceCompleter
{
19
/**
20
* Should be called when a service request completes successfully.
21
*
22
* @param result the result of the request
23
*/
24
void
result
(JsonObject
result
);
25
26
/**
27
* Should be called when a service request completes with an error.
28
*
29
* @param code the error code generated by the request
30
* @param message the description of the error
31
* @param data [optional] the description of the error
32
*/
33
void
error
(
int
code
, String
message
, JsonObject
data
);
34
}
org.dartlang.vm.service.RemoteServiceCompleter
Definition:
RemoteServiceCompleter.java:18
org.dartlang.vm.service.RemoteServiceCompleter.error
void error(int code, String message, JsonObject data)
org.dartlang.vm.service.RemoteServiceCompleter.result
void result(JsonObject result)
message
Win32Message message
Definition:
keyboard_unittests.cc:139
valgrind.code
code
Definition:
valgrind.py:29
data
std::shared_ptr< const fml::Mapping > data
Definition:
texture_gles.cc:63
Generated on Sun Jun 23 2024 21:55:22 for Flutter Engine by
1.9.4