Contact src = request.getContact();
Key key = request.getKey();
Value value = datastore.get(src, key);
MessageFactory factory = getMessageFactory();
ResponseMessage response = null;
if (value != null) {
response = factory.createValueResponse(request, value);
} else {
Contact[] contacts = routeTable.select(key.getId());
response = factory.createNodeResponse(request, contacts);
}
return response;
}