Search in sources :

Example 1 with ChannelFuture

use of net.minecraft.util.io.netty.channel.ChannelFuture in project mc-dev by Bukkit.

the class ServerConnection method b.

public void b() {
    this.a = false;
    Iterator iterator = this.e.iterator();
    while (iterator.hasNext()) {
        ChannelFuture channelfuture = (ChannelFuture) iterator.next();
        channelfuture.channel().close().syncUninterruptibly();
    }
}
Also used : ChannelFuture(net.minecraft.util.io.netty.channel.ChannelFuture) Iterator(java.util.Iterator)

Aggregations

Iterator (java.util.Iterator)1 ChannelFuture (net.minecraft.util.io.netty.channel.ChannelFuture)1