Interface ResponseMessage<R extends RequestMessage>
- All Superinterfaces:
Message
- All Known Implementing Classes:
ErrorMessage
,IdentityMessage
,PongMessage
,SuccessMessage
,WelcomeMessage
Messages of this type represent a response to a previously received
RequestMessage
.-
Method Summary
Methods inherited from interface org.drasyl.peer.connection.message.Message
getHopCount, getId, getNetworkId, getProofOfWork, getRecipient, getSender, getUserAgent, incrementHopCount
-
Method Details
-
getCorrespondingId
MessageId getCorrespondingId()- Returns:
- the id of the
RequestMessage
to which this response corresponds
-