List of usage examples for io.netty.channel ChannelInboundHandlerAdapter subclass-usage
From source file com.yeahmobi.pangolin.proxy.RelayHandler.java
public final class RelayHandler extends ChannelInboundHandlerAdapter { private final Channel relayChannel; public RelayHandler(Channel relayChannel) { this.relayChannel = relayChannel;
From source file com.yeetor.server.handler.DiscardHandler.java
public class DiscardHandler extends ChannelInboundHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { ((ByteBuf) msg).release(); }
From source file com.yuer.gateserver.EchoServerHandler.java
/** * Handler implementation for the echo server. */ @Sharable public class EchoServerHandler extends ChannelInboundHandlerAdapter {
From source file com.zbum.example.socket.server.netty.handler.SomethingServerHandler.java
/**
* event handler to process receiving messages
*
* @author Jibeom Jung
*/
@Component
From source file com.zextras.modules.chat.server.xmpp.netty.FirstTags.java
public class FirstTags extends ChannelInboundHandlerAdapter { private final XmppHandlerFactory mXmppHandlerFactory; private final EventManager mEventManager; private final SocketChannel mSocketChannel; private final SchemaProvider mSchemaProvider; private final SSLContext mZimbraSSLContext;
From source file com.zextras.modules.chat.server.xmpp.netty.StanzaProcessor.java
public class StanzaProcessor extends ChannelInboundHandlerAdapter { private final SchemaProvider mSchemaProvider; private final SSLContext mSslContext; private final boolean mSsl; private final ChatProperties mChatProperties;
From source file com.zhou.Netty.hello.EchoClientHandler.java
/** * Handler implementation for the echo client. It initiates the ping-pong * traffic between the echo client and server by sending the first message to * the server. */ public class EchoClientHandler extends ChannelInboundHandlerAdapter {
From source file com.zhucode.longio.example.service.TestClient.java
/** * @author zhu jinxian * @date 20151012 * */ class EchoClientHandler extends ChannelInboundHandlerAdapter {
From source file controlspy3.SpyAsServer.java
/** * Handles a server-side channel. */ public class SpyAsServer extends ChannelInboundHandlerAdapter { // (1) public static UnixTime1 ux1; private static ArrayList channels = new ArrayList();
From source file core.communication.threadpool.io.CallClientHandler.java
/** * Handler implementation for the echo bootstrap.client. It initiates the ping-pong * traffic between the echo bootstrap.client and bootstrap.server by sending the first message to * the bootstrap.server. */ public class CallClientHandler extends ChannelInboundHandlerAdapter {