All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.sdk.simplenetty.concurrent.ChannelFuture Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.sdk.simplenetty.concurrent;

import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;

import org.zodiac.sdk.simplenetty.channel.Channel;
import org.zodiac.sdk.simplenetty.listener.Listener;

public interface ChannelFuture extends Future {
    Channel channel();

    @Override
    ChannelFuture addListener(Listener listener, int op);

    @Override
    ChannelFuture addListeners(Map, Integer> listeners);

    @Override
    ChannelFuture removeListener(Listener listener);

    @Override
    ChannelFuture removeListeners(List> listeners);

    @Override
    ChannelFuture sync() throws InterruptedException;

    @Override
    ChannelFuture syncUninterruptibly();

    @Override
    ChannelFuture await() throws InterruptedException;

    @Override
    ChannelFuture awaitUninterruptibly();

    @Override
    boolean await(long timeout, TimeUnit timeUnit) throws InterruptedException;

    @Override
    boolean awaitUninterruptibly(long timeout, TimeUnit timeUnit);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy