class PeerDiscoveryRequest {

    public boolean validateMessageResponse(PeerDiscoveryMessage message) {
        return this.expectedResponse == message.getMessageType() && !this.hasExpired();
    }

    public  PeerDiscoveryRequest(String messageId, PeerDiscoveryMessage message, InetSocketAddress address, DiscoveryMessageType expectedResponse, Long expirationPeriod, int attemptNumber, Node relatedNode);

}