public class DapMessage extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DapMessage.Type |
| Modifier and Type | Field and Description |
|---|---|
String |
command |
String |
event |
int |
seq |
DapMessage.Type |
type |
| Constructor and Description |
|---|
DapMessage(Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
DapMessage |
body(String key,
Object value) |
static DapMessage |
event(int seq,
String name) |
<T> T |
getArgument(String key,
Class<T> clazz) |
Map<String,Object> |
getArguments() |
Number |
getThreadId() |
static DapMessage.Type |
parse(String s) |
static DapMessage |
response(int seq,
DapMessage req) |
String |
toJson() |
Map<String,Object> |
toMap() |
String |
toString() |
public final int seq
public final DapMessage.Type type
public final String command
public final String event
public DapMessage body(String key, Object value)
public Number getThreadId()
public static DapMessage.Type parse(String s)
public static DapMessage event(int seq, String name)
public static DapMessage response(int seq, DapMessage req)
public String toJson()
Copyright © 2020. All rights reserved.