Class NettyIOContext
- java.lang.Object
- 
- org.apache.qpid.protonj2.client.transport.NettyIOContext
 
- 
 public final class NettyIOContext extends Object Builder of Transport instances that will validate the build options and produce a correctly configured transport based on the options set.
- 
- 
Constructor SummaryConstructors Constructor Description NettyIOContext(TransportOptions options, SslOptions ssl, String ioThreadName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.channel.EventLoopGroupeventLoop()TcpTransportnewTransport()voidshutdown()voidshutdownAsync()Shutdown the event loop asynchronously with a grace period for work that might be in-bound at the time of termination.
 
- 
- 
- 
Constructor Detail- 
NettyIOContextpublic NettyIOContext(TransportOptions options, SslOptions ssl, String ioThreadName) 
 
- 
 - 
Method Detail- 
shutdownpublic void shutdown() 
 - 
shutdownAsyncpublic void shutdownAsync() Shutdown the event loop asynchronously with a grace period for work that might be in-bound at the time of termination. This is safe to call from inside the event loop where the standard blocking shutdown API is not.
 - 
eventLooppublic io.netty.channel.EventLoopGroup eventLoop() 
 - 
newTransportpublic TcpTransport newTransport() 
 
- 
 
-