Package org.opendaylight.protocol.pcep
Interface PCEPDispatcher
- All Known Implementing Classes:
PCEPDispatcherImpl
@NonNullByDefault
public interface PCEPDispatcher
Dispatcher class for creating servers and clients.
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFuturecreateServer(InetSocketAddress listenAddress, KeyMapping tcpKeys, MessageRegistry registry, PCEPSessionNegotiatorFactory negotiatorFactory) Creates server.
-
Method Details
-
createServer
io.netty.channel.ChannelFuture createServer(InetSocketAddress listenAddress, KeyMapping tcpKeys, MessageRegistry registry, PCEPSessionNegotiatorFactory negotiatorFactory) Creates server. Each server needs three factories to pass their instances to client sessions.- Parameters:
listenAddress- Server listen addresstcpKeys- RFC2385 TCP-MD5 keysregistry- a message registrynegotiatorFactory- a negotiation factory- Returns:
- A future completing when the PCEP server is created
-