use of org.apache.flink.runtime.rpc.messages.CallAsync in project flink by apache.
the class AkkaRpcActor method handleRpcMessage.
protected void handleRpcMessage(Object message) {
if (message instanceof RunAsync) {
handleRunAsync((RunAsync) message);
} else if (message instanceof CallAsync) {
handleCallAsync((CallAsync) message);
} else if (message instanceof RpcInvocation) {
handleRpcInvocation((RpcInvocation) message);
} else {
log.warn("Received message of unknown type {} with value {}. Dropping this message!", message.getClass().getName(), message);
sendErrorIfSender(new AkkaUnknownMessageException("Received unknown message " + message + " of type " + message.getClass().getSimpleName() + '.'));
}
}
Aggregations