Package org.jboss.netty.handler.ssl
Class SslHandler.SSLEngineInboundCloseFuture
- java.lang.Object
-
- org.jboss.netty.channel.DefaultChannelFuture
-
- org.jboss.netty.handler.ssl.SslHandler.SSLEngineInboundCloseFuture
-
- All Implemented Interfaces:
ChannelFuture
- Enclosing class:
- SslHandler
private final class SslHandler.SSLEngineInboundCloseFuture extends DefaultChannelFuture
-
-
Constructor Summary
Constructors Constructor Description SSLEngineInboundCloseFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelgetChannel()Returns a channel where the I/O operation associated with this future takes place.(package private) voidsetClosed()booleansetFailure(java.lang.Throwable cause)Marks this future as a failure and notifies all listeners.booleansetSuccess()Marks this future as a success and notifies all listeners.-
Methods inherited from class org.jboss.netty.channel.DefaultChannelFuture
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getCause, isCancelled, isDone, isSuccess, isUseDeadLockChecker, removeListener, setProgress, setUseDeadLockChecker, sync, syncUninterruptibly
-
-
-
-
Method Detail
-
setClosed
void setClosed()
-
getChannel
public Channel getChannel()
Description copied from interface:ChannelFutureReturns a channel where the I/O operation associated with this future takes place.- Specified by:
getChannelin interfaceChannelFuture- Overrides:
getChannelin classDefaultChannelFuture
-
setSuccess
public boolean setSuccess()
Description copied from interface:ChannelFutureMarks this future as a success and notifies all listeners.- Specified by:
setSuccessin interfaceChannelFuture- Overrides:
setSuccessin classDefaultChannelFuture- Returns:
trueif and only if successfully marked this future as a success. Otherwisefalsebecause this future is already marked as either a success or a failure.
-
setFailure
public boolean setFailure(java.lang.Throwable cause)
Description copied from interface:ChannelFutureMarks this future as a failure and notifies all listeners.- Specified by:
setFailurein interfaceChannelFuture- Overrides:
setFailurein classDefaultChannelFuture- Returns:
trueif and only if successfully marked this future as a failure. Otherwisefalsebecause this future is already marked as either a success or a failure.
-
-