Class ProtocolMessage
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ProtocolMessage
Base class of requests, responses, and events.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtocolMessagebooleanintgetSeq()Sequence number (also known as message ID).getType()Message type.inthashCode()setSeq(int seq)
-
Method Details
-
getSeq
public int getSeq()Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request. -
setSeq
-
getType
Message type. Values: 'request', 'response', 'event', etc. -
setType
-
equals
-
hashCode
public int hashCode() -
create
-