Class Netty5IOContext
java.lang.Object
org.apache.qpid.protonj2.client.transport.netty5.Netty5IOContext
- All Implemented Interfaces:
- IOContext
Builder of Transport instances that will validate the build options and produce a
 correctly configured transport based on the options set.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionNetty5IOContext(TransportOptions options, SslOptions ssl, String ioThreadName) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidshutdown()Shutdown the event loop synchronously with a grace period for work that might be in-bound at the time of termination.voidShutdown the event loop asynchronously with a grace period for work that might be in-bound at the time of termination.
- 
Constructor Details- 
Netty5IOContext
 
- 
- 
Method Details- 
shutdownpublic void shutdown()Description copied from interface:IOContextShutdown the event loop synchronously with a grace period for work that might be in-bound at the time of termination. This is not safe to call from inside the event loop as it blocks until the shutdown has completed.
- 
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.- Specified by:
- shutdownAsyncin interface- IOContext
 
- 
ioScheduler- Specified by:
- ioSchedulerin interface- IOContext
- Returns:
- the single threaded IO work scheduler for this IOContext
 
- 
newTransport- Specified by:
- newTransportin interface- IOContext
- Returns:
- a new Transportinstance that is tied to thisIOContext
 
 
-