Class AbstractChannel.ChannelCloseFuture

java.lang.Object
org.jboss.netty.channel.DefaultChannelFuture
org.jboss.netty.channel.AbstractChannel.ChannelCloseFuture
All Implemented Interfaces:
ChannelFuture
Enclosing class:
AbstractChannel

private final class AbstractChannel.ChannelCloseFuture extends DefaultChannelFuture
  • Constructor Details

    • ChannelCloseFuture

      ChannelCloseFuture()
  • Method Details

    • setSuccess

      public boolean setSuccess()
      Description copied from interface: ChannelFuture
      Marks this future as a success and notifies all listeners.
      Specified by:
      setSuccess in interface ChannelFuture
      Overrides:
      setSuccess in class DefaultChannelFuture
      Returns:
      true if and only if successfully marked this future as a success. Otherwise false because this future is already marked as either a success or a failure.
    • setFailure

      public boolean setFailure(Throwable cause)
      Description copied from interface: ChannelFuture
      Marks this future as a failure and notifies all listeners.
      Specified by:
      setFailure in interface ChannelFuture
      Overrides:
      setFailure in class DefaultChannelFuture
      Returns:
      true if and only if successfully marked this future as a failure. Otherwise false because this future is already marked as either a success or a failure.
    • setClosed

      boolean setClosed()