List of usage examples for io.netty.channel SimpleChannelInboundHandler subclass-usage
From source file adapter.server.AdapterHandler.java
public class AdapterHandler extends SimpleChannelInboundHandler<Global.GlobalCommandMessage> { // protected ConcurrentMap<String, MonitorListener> listeners = new // ConcurrentHashMap<String, MonitorListener>(); String outputPath = "/home/vinit";
From source file afred.javademo.proxy.rpc.ObjectEchoClientHandler.java
/** * Handler implementation for the object echo client. It initiates the * ping-pong traffic between the object echo client and server by sending the * first message to the server. */ public class ObjectEchoClientHandler extends SimpleChannelInboundHandler<Object> {
From source file afred.javademo.proxy.rpc.ObjectEchoServerHandler.java
/** * Handles both client-side and server-side handler depending on which * constructor was called. */ public class ObjectEchoServerHandler extends SimpleChannelInboundHandler<Object> {
From source file alluxio.client.netty.ClientHandler.java
/** * This handles all the messages received by the client channel. */ @ChannelHandler.Sharable @NotThreadSafe public final class ClientHandler extends SimpleChannelInboundHandler<RPCMessage> {
From source file alluxio.network.protocol.MessageSavingHandler.java
/**
* This is a simple handler for the channel pipelines. This simply saves the message it receives.
* The stored message can be retrieved with {@link #getMessage()} which is blocking until the
* message is received.
*
* This is for encoder/decoder testing in {@link RPCMessageIntegrationTest}.
From source file alluxio.worker.netty.DataServerHandler.java
/**
* This class processes {@link RPCRequest} messages and delegates them to the appropriate
* handlers to return {@link RPCResponse} messages.
*/
@ChannelHandler.Sharable
@NotThreadSafe
From source file app.WebSocketServerHandler.java
/** * Handles handshakes and messages */ public class WebSocketServerHandler extends SimpleChannelInboundHandler<Object> { private static final String WEBSOCKET_PATH = "/ws";
From source file at.yawk.dbus.protocol.auth.AuthClientHandler.java
/** * @author yawkat */ @Slf4j class AuthClientHandler extends SimpleChannelInboundHandler<Command> { private CompletableFuture<Command> currentCommandFuture = null;
From source file at.yawk.dbus.protocol.codec.IncomingMessageAdapter.java
/** * @author yawkat */ @Slf4j @RequiredArgsConstructor class IncomingMessageAdapter extends SimpleChannelInboundHandler<Object> {
From source file be.yildizgames.module.network.netty.client.AbstractClientMessageHandler.java
/** * @author Grgory Van den Borre */ public abstract class AbstractClientMessageHandler<T> extends SimpleChannelInboundHandler<T> { private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(AbstractClientMessageHandler.class);