Package org.opendaylight.protocol.pcep
Interface PCEPDispatcher
- All Known Implementing Classes:
PCEPDispatcherImpl
public interface PCEPDispatcher
Dispatcher class for creating servers and clients.
-
Method Summary
Modifier and TypeMethodDescription@NonNull io.netty.channel.ChannelFuture
createServer
(@NonNull PCEPDispatcherDependencies dispatcherDependencies) Creates server.@NonNull PCEPSessionNegotiatorFactory<?>
-
Method Details
-
createServer
@NonNull io.netty.channel.ChannelFuture createServer(@NonNull PCEPDispatcherDependencies dispatcherDependencies) Creates server. Each server needs three factories to pass their instances to client sessions.- Parameters:
dispatcherDependencies
- contains required dependencies for instantiate a PCEP Server- Returns:
- instance of PCEPServer
-
getPCEPSessionNegotiatorFactory
@NonNull PCEPSessionNegotiatorFactory<?> getPCEPSessionNegotiatorFactory()
-