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

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

Introduction

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

Usage

From source file com.lambdaworks.redis.protocol.EmptyPromise.java

/**
 * @author Mark Paluch
 */
class EmptyPromise implements ChannelPromise {

    @Override

From source file com.yea.remote.netty.promise.NettyChannelPromise.java

/**
 * 
 * @author yiyongfei
 * 
 */
public interface NettyChannelPromise<T> extends Promise<T>, ChannelPromise {

From source file io.lettuce.core.protocol.EmptyPromise.java

/**
 * @author Mark Paluch
 */
class EmptyPromise implements ChannelPromise {

    @Override

From source file org.elasticsearch.http.nio.NettyListener.java

/**
 * This is an {@link BiConsumer} that interfaces with netty code. It wraps a netty promise and will
 * complete that promise when accept is called. It delegates the normal promise methods to the underlying
 * promise.
 */
public class NettyListener implements BiConsumer<Void, Exception>, ChannelPromise {