@Deprecated @ChannelHandler.Sharable public class HippoNettyClient extends io.netty.channel.SimpleChannelInboundHandler<com.github.hippo.bean.HippoResponse>
| 构造器和说明 |
|---|
HippoNettyClient(String host,
int port,
int hippoReadTimeout,
boolean needTimeout)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext arg0,
com.github.hippo.bean.HippoResponse response)
已过时。
|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
已过时。
|
com.github.hippo.bean.HippoResponse |
send(com.github.hippo.bean.HippoRequest request)
已过时。
send to server
|
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic HippoNettyClient(String host, int port, int hippoReadTimeout, boolean needTimeout)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic com.github.hippo.bean.HippoResponse send(com.github.hippo.bean.HippoRequest request)
throws Exception
request - HippoRequestExceptionCopyright © 2017. All rights reserved.