public class DefaultNettyChannelFactoryProvider extends Object implements NettyChannelFactoryProvider
DefaultNettyChannelFactoryProvider class.
Constructor and Description |
---|
DefaultNettyChannelFactoryProvider() |
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.
|
public NettyChannelFactory getFactory(TransportType type, Options options)
getFactory.
getFactory
in interface NettyChannelFactoryProvider
type
- a TransportType
objectoptions
- a Options
objectNettyChannelFactory
objectpublic NettyContextChannelFactory getContextualFactory(TransportType type, Options options)
NettyChannelFactory
getContextualFactory
in interface NettyChannelFactoryProvider
type
- The TransportType
of the NettyChannelFactory
options
- The configuration Options
to be used by the factoryNettyContextChannelFactory
public NettyContextChannelFactory getContextualFactory(TransportType type, Options options, NettyChannelContextFactory contextFactory)
getContextualFactory.
getContextualFactory
in interface NettyChannelFactoryProvider
type
- a TransportType
objectoptions
- a Options
objectcontextFactory
- a NettyChannelContextFactory
objectNettyContextChannelFactory
objectCopyright © 2016–2024. All rights reserved.