protected static class AbstractChannelBuilder.ChannelEssentials extends Object
| Constructor and Description |
|---|
ChannelEssentials(ClientTransportFactory transportFactory,
Runnable terminationRunnable)
Constructor.
|
public ChannelEssentials(ClientTransportFactory transportFactory, @Nullable Runnable terminationRunnable)
transportFactory - the created channel uses this factory to create transportsterminationRunnable - will be called at the channel termination