RpcHandler is the base of…FIXME
RpcHandler uses a OneWayRpcCallback that…FIXME
package org.apache.spark.network.server;
abstract class RpcHandler {
// only required methods that have no implementation
// the others follow
abstract void receive(
TransportClient client,
ByteBuffer message,
RpcResponseCallback callback);
abstract StreamManager getStreamManager();
}| Method | Description |
|---|---|
|
|
|
| RpcHandler | Description |
|---|---|
|
|
|
|
|
|
|
|
|
OneWayRpcCallback is a RpcResponseCallback that simply prints out the WARN and ERROR for the following methods onSuccess and onFailure respectively.
void onSuccess(ByteBuffer response)
Response provided for one-way RPC.void onFailure(Throwable e)
Error response provided for one-way RPC.