Interface PCEPDispatcher

All Known Implementing Classes:
PCEPDispatcherImpl

@NonNullByDefault public interface PCEPDispatcher
Dispatcher class for creating servers and clients.
  • 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 address
      tcpKeys - RFC2385 TCP-MD5 keys
      registry - a message registry
      negotiatorFactory - a negotiation factory
      Returns:
      A future completing when the PCEP server is created