public class PCEPDispatcherImpl extends Object implements PCEPDispatcher, Closeable
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
PCEPDispatcherImpl.ChannelPipelineInitializer |
| Constructor and Description |
|---|
PCEPDispatcherImpl(MessageRegistry registry,
PCEPSessionNegotiatorFactory<PCEPSessionImpl> negotiatorFactory,
io.netty.channel.EventLoopGroup bossGroup,
io.netty.channel.EventLoopGroup workerGroup)
Creates an instance of PCEPDispatcherImpl, gets the default selector and opens it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.netty.channel.ChannelFuture |
createServer(PCEPDispatcherDependencies dispatcherDependencies)
Creates server.
|
PCEPSessionNegotiatorFactory<PCEPSessionImpl> |
getPCEPSessionNegotiatorFactory() |
public PCEPDispatcherImpl(@Nonnull MessageRegistry registry, @Nonnull PCEPSessionNegotiatorFactory<PCEPSessionImpl> negotiatorFactory, @Nonnull io.netty.channel.EventLoopGroup bossGroup, @Nonnull io.netty.channel.EventLoopGroup workerGroup)
registry - a message registrynegotiatorFactory - a negotiation factorybossGroup - accepts an incoming connectionworkerGroup - handles the traffic of accepted connectionpublic final io.netty.channel.ChannelFuture createServer(PCEPDispatcherDependencies dispatcherDependencies)
PCEPDispatchercreateServer in interface PCEPDispatcherdispatcherDependencies - contains required dependencies for instantiate a PCEP Serverpublic final void close()
close in interface Closeableclose in interface AutoCloseablepublic final PCEPSessionNegotiatorFactory<PCEPSessionImpl> getPCEPSessionNegotiatorFactory()
getPCEPSessionNegotiatorFactory in interface PCEPDispatcherCopyright © 2019 OpenDaylight. All rights reserved.