Flutter Engine
The Flutter Engine
VmServiceListener.java
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015, 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 */
14package org.dartlang.vm.service;
15
16import org.dartlang.vm.service.element.Event;
17
18/**
19 * Interface used by {@link VmService} to notify others of VM events.
20 */
21public interface VmServiceListener {
23
24 /**
25 * Called when a VM event has been received.
26 *
27 * @param streamId the stream identifier (e.g. {@link VmService#DEBUG_STREAM_ID}
28 * @param event the event
29 */
30 void received(String streamId, Event event);
31
33}
GrAATriangulator::Event Event
FlKeyEvent * event
void received(String streamId, Event event)