org.chromium.sdk/src/org/chromium/sdk/internal/protocol/EventNotificationBody.java
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
|
2 // Use of this source code is governed by a BSD-style license that can be |
|
3 // found in the LICENSE file. |
|
4 |
|
5 package org.chromium.sdk.internal.protocol; |
|
6 |
|
7 import org.chromium.sdk.internal.protocolparser.JsonProtocolParseException; |
|
8 import org.chromium.sdk.internal.protocolparser.JsonSubtypeCasting; |
|
9 import org.chromium.sdk.internal.protocolparser.JsonType; |
|
10 |
|
11 /** |
|
12 * This is empty base type for all event notification body types. The actual type |
|
13 * depends on a particular event. |
|
14 */ |
|
15 @JsonType(subtypesChosenManually=true) |
|
16 public interface EventNotificationBody { |
|
17 @JsonSubtypeCasting |
|
18 BreakEventBody asBreakEventBody() throws JsonProtocolParseException; |
|
19 |
|
20 @JsonSubtypeCasting |
|
21 AfterCompileBody asAfterCompileBody() throws JsonProtocolParseException; |
|
22 } |