Package io.netty.handler.ssl
Class ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod.ResultCallbackListener
- java.lang.Object
-
- io.netty.handler.ssl.ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod.ResultCallbackListener
-
- All Implemented Interfaces:
FutureListener<byte[]>,GenericFutureListener<Future<byte[]>>,java.util.EventListener
- Enclosing class:
- ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod
private static final class ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod.ResultCallbackListener extends java.lang.Object implements FutureListener<byte[]>
-
-
Field Summary
Fields Modifier and Type Field Description private ReferenceCountedOpenSslEngineengineprivate io.netty.internal.tcnative.ResultCallback<byte[]>resultCallbackprivate longssl
-
Constructor Summary
Constructors Constructor Description ResultCallbackListener(ReferenceCountedOpenSslEngine engine, long ssl, io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoperationComplete(Future<byte[]> future)Invoked when the operation associated with theFuturehas been completed.
-
-
-
Field Detail
-
engine
private final ReferenceCountedOpenSslEngine engine
-
ssl
private final long ssl
-
resultCallback
private final io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback
-
-
Constructor Detail
-
ResultCallbackListener
ResultCallbackListener(ReferenceCountedOpenSslEngine engine, long ssl, io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback)
-
-
Method Detail
-
operationComplete
public void operationComplete(Future<byte[]> future)
Description copied from interface:GenericFutureListenerInvoked when the operation associated with theFuturehas been completed.- Specified by:
operationCompletein interfaceGenericFutureListener<Future<byte[]>>- Parameters:
future- the sourceFuturewhich called this callback
-
-