Package io.grpc.xds.internal.security
Class SslContextProvider.Callback
- java.lang.Object
-
- io.grpc.xds.internal.security.SslContextProvider.Callback
-
- Enclosing class:
- SslContextProvider
public abstract static class SslContextProvider.Callback extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.Executor
executor
-
Constructor Summary
Constructors Modifier Constructor Description protected
Callback(java.util.concurrent.Executor executor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.Executor
getExecutor()
protected abstract void
onException(java.lang.Throwable throwable)
Informs callee of an exception that was generated.abstract void
updateSslContext(io.netty.handler.ssl.SslContext sslContext)
Informs callee of new/updated SslContext.
-
-
-
Method Detail
-
getExecutor
public java.util.concurrent.Executor getExecutor()
-
updateSslContext
public abstract void updateSslContext(io.netty.handler.ssl.SslContext sslContext)
Informs callee of new/updated SslContext.
-
onException
protected abstract void onException(java.lang.Throwable throwable)
Informs callee of an exception that was generated.
-
-