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

org.zodiac.sdk.simplenetty.concurrent.DefaultFuture 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 org.zodiac.sdk.simplenetty.core.EventExecutor;
import org.zodiac.sdk.simplenetty.listener.Listener;

public class DefaultFuture extends AbstractFuture {
    public DefaultFuture(EventExecutor executor, boolean isCancellable) {
        super(executor, isCancellable);
    }

    @Override
    public Future addListener(Listener listener, int op) {
        throw new UnsupportedOperationException("listener should be ChannelFuture");
    }

    @Override
    public Future addListeners(Map, Integer> listeners) {
        throw new UnsupportedOperationException("listener should be ChannelFuture");
    }

    @Override
    public Future removeListener(Listener listener) {
        throw new UnsupportedOperationException("listener should be ChannelFuture");
    }

    @Override
    public Future removeListeners(List> listeners) {
        throw new UnsupportedOperationException("listener should be ChannelFuture");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy