Example usage for io.netty.channel ChannelFutureListener interface-usage

List of usage examples for io.netty.channel ChannelFutureListener interface-usage

Introduction

In this page you can find the example usage for io.netty.channel ChannelFutureListener interface-usage.

Usage

From source file com.newlandframework.avatarmq.broker.LauncherListener.java

/**
 * @filename:LauncherListener.java
 * @description:LauncherListener?
 * @author tangjie<https://github.com/tang-jie>
 * @blog http://www.cnblogs.com/jietang/
 * @since 2016-8-11

From source file com.ning.http.client.providers.netty_4.NettyConnectListener.java

/**
 * Non Blocking connect.
 */
final class NettyConnectListener<T> implements ChannelFutureListener {
    private final static Logger logger = LoggerFactory.getLogger(NettyConnectListener.class);
    private final AsyncHttpClientConfig config;

From source file com.onion.worker.ClosableResourceChannelListener.java

/**
 * A listener that will close the given resource when the operation completes. This class accepts
 * null resources.
 */
final class ClosableResourceChannelListener implements ChannelFutureListener {
    private final Closeable mResource;

From source file com.util.ServerBindListener.java

/**
 * 
 * @author SITO3
 *
 */
public class ServerBindListener implements ChannelFutureListener {

From source file com.wq.wqchat.core.push.BroadcastPushTask.java

public final class BroadcastPushTask implements PushTask, ChannelFutureListener {

    private final long begin = System.currentTimeMillis();

    private final AtomicInteger finishTasks = new AtomicInteger(0);

From source file com.wq.wqchat.core.push.SingleUserPushTask.java

public final class SingleUserPushTask implements PushTask, ChannelFutureListener {

    private final FlowControl flowControl;

    private final IPushMessage message;

From source file com.wq.wqchat.netty.connection.NettyConnection.java

public final class NettyConnection implements Connection, ChannelFutureListener {
    private static final Logger LOGGER = LoggerFactory.getLogger(NettyConnection.class);
    private static final Cipher RSA_CIPHER = CipherFactory.create();
    private SessionContext context;
    private Channel channel;
    private volatile byte status = STATUS_NEW;

From source file com.zhucode.longio.transport.netty.ConnectionListener.java

/**
 * @author zhu jinxian
 * @date 20151012
 * 
 */
public class ConnectionListener implements ChannelFutureListener {

From source file divconq.ctp.stream.CtpStreamDest.java

public class CtpStreamDest extends BaseStream implements IStreamDest, ChannelFutureListener {
    protected CtpAdapter adapter = null;
    protected boolean userelpath = false;
    protected boolean finalFlag = false;
    protected String relpath = null;
    protected OperationContext ctx = null;

From source file eu.stratosphere.runtime.io.network.netty.OutboundConnectionQueue.java

public class OutboundConnectionQueue extends ChannelInboundHandlerAdapter implements ChannelFutureListener {

    private static final Log LOG = LogFactory.getLog(OutboundConnectionQueue.class);

    private final Channel channel;