Example usage for io.netty.util.concurrent GenericFutureListener interface-usage

List of usage examples for io.netty.util.concurrent GenericFutureListener interface-usage

Introduction

In this page you can find the example usage for io.netty.util.concurrent GenericFutureListener interface-usage.

Usage

From source file org.apache.tajo.pullserver.FileCloseListener.java

public class FileCloseListener implements GenericFutureListener<ChannelFuture> {

    private FadvisedFileRegion filePart;
    private String requestUri;
    private TajoPullServerService pullServerService;
    private long startTime;

From source file org.apache.tajo.rpc.ConnectionCloseFutureListener.java

public class ConnectionCloseFutureListener implements GenericFutureListener {
    private RpcClientManager.RpcConnectionKey key;

    public ConnectionCloseFutureListener(RpcClientManager.RpcConnectionKey key) {
        this.key = key;
    }

From source file org.asynchttpclient.netty.request.WriteCompleteListener.java

public class WriteCompleteListener extends WriteListener implements GenericFutureListener<ChannelFuture> {

    public WriteCompleteListener(NettyResponseFuture<?> future) {
        super(future, true);
    }

From source file org.asynchttpclient.netty.SimpleGenericFutureListener.java

public abstract class SimpleGenericFutureListener<V> implements GenericFutureListener<Future<V>> {

    @Override
    public final void operationComplete(Future<V> future) throws Exception {
        if (future.isSuccess()) {
            onSuccess(future.get());

From source file org.opendaylight.ocpjava.protocol.impl.core.connection.AbstractRpcListener.java

/**
 * This class holds all the context we need for sending a single message down the tube.
 * A MessageHolder (used in queue) and the actual listener. It is not a thing of beauty,
 * but it keeps us from allocating unnecessary objects in the egress path.
 */
abstract class AbstractRpcListener<T>

From source file org.opendaylight.openflowjava.protocol.impl.connection.AbstractRpcListener.java

abstract class AbstractRpcListener<T> implements GenericFutureListener<Future<? super Void>> {
    private static final Logger LOG = LoggerFactory.getLogger(AbstractRpcListener.class);
    private final SettableFuture<RpcResult<T>> result = SettableFuture.create();
    private final String failureInfo;

    AbstractRpcListener(final String failureInfo) {

From source file org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractRpcListener.java

/**
 * This class holds all the context we need for sending a single message down the tube.
 * A MessageHolder (used in queue) and the actual listener. It is not a thing of beauty,
 * but it keeps us from allocating unnecessary objects in the egress path.
 */
abstract class AbstractRpcListener<T>

From source file org.thingsboard.server.transport.mqtt.MqttTransportHandler.java

/**
 * @author Andrew Shvayka
 */
@Slf4j
public class MqttTransportHandler extends ChannelInboundHandlerAdapter
        implements GenericFutureListener<Future<? super Void>>, SessionMsgListener {

From source file reactor.ipc.netty.channel.PooledClientContextHandler.java

/**
 * @param <CHANNEL> the channel type
 *
 * @author Stephane Maldini
 */
final class PooledClientContextHandler<CHANNEL extends Channel> extends ContextHandler<CHANNEL>

From source file tk.wurst_client.utils.EmptyFutureListener.java

public class EmptyFutureListener implements GenericFutureListener {
    @Override
    public void operationComplete(Future arg0) throws Exception {

    }