Package org.opendaylight.protocol.pcep
Interface PCEPDispatcher
-
- All Known Implementing Classes:
PCEPDispatcherImpl
public interface PCEPDispatcher
Dispatcher class for creating servers and clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull io.netty.channel.ChannelFuture
createServer(@NonNull PCEPDispatcherDependencies dispatcherDependencies)
Creates server.@NonNull PCEPSessionNegotiatorFactory<?>
getPCEPSessionNegotiatorFactory()
-
-
-
Method Detail
-
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()
-
-