Class FutureListenerUtil

java.lang.Object
org.drasyl.util.FutureListenerUtil

public class FutureListenerUtil extends Object
  • Method Details

    • fireExceptionToChannelOnFailure

      public static <V> io.netty.util.concurrent.FutureListener<V> fireExceptionToChannelOnFailure(io.netty.channel.Channel channel)
      Create a FutureListener that forwards the Throwable of the Future into the given Channel.