List of usage examples for io.netty.channel SimpleChannelInboundHandler subclass-usage
From source file com.github.sinsinpub.pero.manual.proxyhandler.UnresponsiveHandler.java
@Sharable final class UnresponsiveHandler extends SimpleChannelInboundHandler<Object> { static final UnresponsiveHandler INSTANCE = new UnresponsiveHandler(); private UnresponsiveHandler() {
From source file com.github.spapageo.jannel.channel.SessionWrapperHandler.java
/** * Marks the end of the IO operation and the link with the protocol handling */ public class SessionWrapperHandler extends SimpleChannelInboundHandler<Message> { private final SessionCallbackHandler session;
From source file com.github.sparkfy.network.server.TransportChannelHandler.java
/**
* The single Transport-level Channel handler which is used for delegating requests to the
* {@link TransportRequestHandler} and responses to the {@link TransportResponseHandler}.
*
* All channels created in the transport layer are bidirectional. When the Client initiates a Netty
* Channel with a RequestMessage (which gets handled by the Server's RequestHandler), the Server
From source file com.github.wolf480pl.ircd.netty.codec.MessageHandler.java
public class MessageHandler extends SimpleChannelInboundHandler<Message> { public static final AttributeKey<Session> ATTR_SESSION = AttributeKey .valueOf(MessageHandler.class.getName() + ".SESSION"); public static final AttributeKey<SessionHandler> ATTR_SESSION_HANDLER = AttributeKey .valueOf(MessageHandler.class.getName() + ".SESSION_HANDLER");
From source file com.goodgamenow.source.serverquery.MasterQueryHandler.java
/**
* Handles sending a query and receiving game server data with the
* Source Master Server.
* <p>
* Sends the query when the channel is bound and becomes active. Decodes
* responses into a list which can be retrieved with a call to
From source file com.google.devtools.build.lib.remote.blobstore.http.AbstractHttpHandler.java
/** Common functionality shared by concrete classes. */ abstract class AbstractHttpHandler<T extends HttpObject> extends SimpleChannelInboundHandler<T> implements ChannelOutboundHandler { private final Credentials credentials;
From source file com.google.devtools.build.remote.worker.HttpCacheServerHandler.java
/** A simple HTTP REST in-memory cache used during testing the LRE. */ public class HttpCacheServerHandler extends SimpleChannelInboundHandler<FullHttpRequest> { final ConcurrentMap<String, byte[]> cache = new ConcurrentHashMap<>(); @Override
From source file com.gw.monitor.alphaenvmonitor.monitor.MonitorClientHandler.java
@Sharable public class MonitorClientHandler extends SimpleChannelInboundHandler<String> { private static final Logger logger = Logger.getLogger(MonitorClientHandler.class.getName()); @Override
From source file com.gw.monitor.alphaenvmonitor.monitor.StatusCollectorHandler.java
/** * Handles a client-side channel. */ @Sharable public class StatusCollectorHandler extends SimpleChannelInboundHandler<String> {
From source file com.gw.services.client.HttpsClientHandler.java
public class HttpsClientHandler extends SimpleChannelInboundHandler<HttpObject> { @Override public void messageReceived(ChannelHandlerContext ctx, HttpObject msg) { if (msg instanceof HttpResponse) { HttpResponse response = (HttpResponse) msg;