public interface NettyChannelFactoryProvider
NettyChannelFactoryProvider interface.
Modifier and Type | Method and Description |
---|---|
NettyContextChannelFactory |
getContextualFactory(TransportType type,
Options options)
Get a new decorated
NettyChannelFactory |
NettyContextChannelFactory |
getContextualFactory(TransportType type,
Options options,
NettyChannelContextFactory contextFactory)
getContextualFactory.
|
NettyChannelFactory |
getFactory(TransportType type,
Options options)
getFactory.
|
NettyChannelFactory getFactory(TransportType type, Options options)
getFactory.
type
- a TransportType
objectoptions
- a Options
objectNettyChannelFactory
objectNettyContextChannelFactory getContextualFactory(TransportType type, Options options)
NettyChannelFactory
type
- The TransportType
of the NettyChannelFactory
options
- The configuration Options
to be used by the factoryNettyContextChannelFactory
NettyContextChannelFactory getContextualFactory(TransportType type, Options options, NettyChannelContextFactory contextFactory)
getContextualFactory.
type
- a TransportType
objectoptions
- a Options
objectcontextFactory
- a NettyChannelContextFactory
objectNettyContextChannelFactory
objectCopyright © 2016–2024. All rights reserved.