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 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(InetSocketAddress address,
KeyMapping keys,
PCEPSessionListenerFactory listenerFactory,
PCEPPeerProposal peerProposal)
Creates server.
|
io.netty.channel.ChannelFuture |
createServer(InetSocketAddress address,
PCEPSessionListenerFactory listenerFactory,
PCEPPeerProposal peerProposal)
Creates server.
|
PCEPSessionNegotiatorFactory<?> |
getPCEPSessionNegotiatorFactory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateServerpublic PCEPDispatcherImpl(@Nonnull MessageRegistry registry, @Nonnull PCEPSessionNegotiatorFactory 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(InetSocketAddress address, PCEPSessionListenerFactory listenerFactory, PCEPPeerProposal peerProposal)
PCEPDispatchercreateServer in interface PCEPDispatcheraddress - to be bound with the serverlistenerFactory - to create listeners for clientspeerProposal - information used in our Open messagepublic final io.netty.channel.ChannelFuture createServer(InetSocketAddress address, KeyMapping keys, PCEPSessionListenerFactory listenerFactory, PCEPPeerProposal peerProposal)
PCEPDispatchercreateServer in interface PCEPDispatcheraddress - to be bound with the serverkeys - RFC2385 key mappinglistenerFactory - to create listeners for clientspeerProposal - information used in our Open messagepublic final void close()
close in interface Closeableclose in interface AutoCloseablepublic final PCEPSessionNegotiatorFactory<?> getPCEPSessionNegotiatorFactory()
getPCEPSessionNegotiatorFactory in interface PCEPDispatcherCopyright © 2018 OpenDaylight. All rights reserved.