final RawDataReply rawDataReply2 = rawDataReply;
final ObjectDataReply objectDataReply2 = objectDataReply;
if (message.type() == Type.REQUEST_1 && rawDataReply2 == null) {
responseMessage.type(Type.NOT_FOUND);
} else if (message.type() == Type.REQUEST_2 && objectDataReply2 == null) {
responseMessage.type(Type.NOT_FOUND);
} else {
final Buffer requestBuffer = message.buffer(0);
// the user can reply with null, indicating not found. Or
// returning the request buffer, which means nothing is
// returned. Or an exception can be thrown