MessageHandler
is a contract of message handlers that can handle messages.
package org.apache.spark.network.server;
abstract class MessageHandler<T extends Message> {
abstract void handle(T message) throws Exception;
abstract void channelActive();
abstract void exceptionCaught(Throwable cause);
abstract void channelInactive();
}
Method | Description |
---|---|
|
|
|
|
|
|
|
MessageHandler | Description |
---|---|
|
|
|