public class RemotingClientChannelHandler extends SimpleChannelHandler
| Constructor and Description |
|---|
RemotingClientChannelHandler(LoggerFactory loggerFactory,
AtomicInteger flagAtomic) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(RemotingCallback callback) |
void |
onClosed(String reason) |
void |
onMessage(ChannelContext context) |
ByteBuffer |
pending(RemotingCallback handler,
short operation,
HashMap<String,Object> transportHeaders,
byte[] data,
int dataOffset,
int dataLength) |
ByteBuffer |
pending(RemotingCallback handler,
short operation,
HashMap<String,Object> transportHeaders,
MethodCall methodCall) |
void |
setSerializationFactory(SerializationFactory serializationFactory) |
onConnect, onErrorpublic RemotingClientChannelHandler(LoggerFactory loggerFactory, AtomicInteger flagAtomic)
public void setSerializationFactory(SerializationFactory serializationFactory)
public ByteBuffer pending(RemotingCallback handler, short operation, HashMap<String,Object> transportHeaders, MethodCall methodCall) throws FormatterException
FormatterExceptionpublic ByteBuffer pending(RemotingCallback handler, short operation, HashMap<String,Object> transportHeaders, byte[] data, int dataOffset, int dataLength)
public void cancel(RemotingCallback callback)
public void onMessage(ChannelContext context)
public void onClosed(String reason)
onClosed in interface ChannelHandleronClosed in class SimpleChannelHandlerCopyright © 2021. All rights reserved.