public abstract class RemotingServerChannelHandler extends SimpleChannelHandler
| 构造器和说明 |
|---|
RemotingServerChannelHandler() |
RemotingServerChannelHandler(LoggerFactory loggerFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onMessage(ChannelContext context) |
abstract MethodReturn |
onMethodCall(MethodCall methodCall,
MethodCallContext callContext) |
void |
setLoggerFactory(LoggerFactory loggerFactory) |
void |
setSerializationFactory(SerializationFactory serializationFactory) |
void |
setThreadPool(ExecutorService threadPool) |
onClosed, onConnect, onErrorprotected Logger logger
public RemotingServerChannelHandler()
public RemotingServerChannelHandler(LoggerFactory loggerFactory)
public void setThreadPool(ExecutorService threadPool)
public void setLoggerFactory(LoggerFactory loggerFactory)
public void setSerializationFactory(SerializationFactory serializationFactory)
public abstract MethodReturn onMethodCall(MethodCall methodCall, MethodCallContext callContext) throws Throwable
Throwablepublic final void onMessage(ChannelContext context) throws ChannelException, NotSupportedException
Copyright © 2020. All rights reserved.