Top Description Inners Fields Constructors Methods
io.netty.internal.tcnative

pack-priv abstract Class SSLTask

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Known Direct Subclasses
io.netty.internal.tcnative.CertificateCallbackTask, io.netty.internal.tcnative.CertificateVerifierTask, io.netty.internal.tcnative.SSLPrivateKeyMethodTask

A SSL related task that will be returned by SSL#getTask(long).

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface

Field Summary

Modifier and TypeField and Description
private boolean
protected boolean
private static final Runnable
private int
private final long

Constructor Summary

AccessConstructor and Description
protected
SSLTask(long ssl)

Method Summary

Modifier and TypeMethod and Description
public final void
run()

Implements java.lang.Runnable.run.

Runs this operation.
protected final void
run(final Runnable completeCallback)

protected abstract void
runTask(long ssl, SSLTask.TaskCallback callback)

Run the task and return the return value that should be passed back to OpenSSL.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

completeback to summary
private boolean complete
didRunback to summary
protected boolean didRun
NOOPback to summary
private static final Runnable NOOP
returnValueback to summary
private int returnValue
sslback to summary
private final long ssl

Constructor Detail

SSLTaskback to summary
protected SSLTask(long ssl)

Method Detail

runback to summary
public final void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
runback to summary
protected final void run(final Runnable completeCallback)
runTaskback to summary
protected abstract void runTask(long ssl, SSLTask.TaskCallback callback)

Run the task and return the return value that should be passed back to OpenSSL.

io.netty.internal.tcnative back to summary

pack-priv Interface SSLTask.TaskCallback


Method Summary

Modifier and TypeMethod and Description
public void
onResult(long ssl, int result)

Method Detail

onResultback to summary
public void onResult(long ssl, int result)