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