MessageHandler
MessageHandler
is a contract of message handlers that can handle messages.
1 2 3 4 5 6 7 8 9 10 11 12 |
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 |
---|---|
|
Used when…FIXME |
|
Used when…FIXME |
|
Used when…FIXME |
|
Used when…FIXME |
MessageHandler | Description |
---|---|
|
|
|