public class PCEPDispatcherImpl extends Object implements PCEPDispatcher, Closeable
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
PCEPDispatcherImpl.ChannelPipelineInitializer |
| Constructor and Description |
|---|
PCEPDispatcherImpl(@NonNull MessageRegistry registry,
@NonNull PCEPSessionNegotiatorFactory<PCEPSessionImpl> negotiatorFactory,
@NonNull io.netty.channel.EventLoopGroup bossGroup,
@NonNull 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 © 2020 OpenDaylight. All rights reserved.