Class DefaultPCEPSessionNegotiatorFactory
java.lang.Object
org.opendaylight.protocol.pcep.impl.AbstractPCEPSessionNegotiatorFactory
org.opendaylight.protocol.pcep.impl.DefaultPCEPSessionNegotiatorFactory
- All Implemented Interfaces:
PCEPSessionNegotiatorFactory
-
Constructor Summary
ConstructorDescriptionDefaultPCEPSessionNegotiatorFactory
(PCEPSessionListenerFactory listenerFactory, PCEPTimerProposal timers, List<PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, PcepSessionTls tlsConfiguration) DefaultPCEPSessionNegotiatorFactory
(PCEPSessionListenerFactory listenerFactory, PcepSessionTimers timers, List<PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages) DefaultPCEPSessionNegotiatorFactory
(PCEPSessionListenerFactory listenerFactory, PcepSessionTimers timers, List<PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, PcepSessionTls tlsConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendPeerSpecificTls
(@NonNull InetSocketAddress address, @NonNull TlvsBuilder builder) protected final AbstractPCEPSessionNegotiator
createNegotiator
(io.netty.util.concurrent.Promise<PCEPSession> promise, io.netty.channel.Channel channel, org.opendaylight.yangtools.yang.common.Uint8 sessionId) Create a new negotiator.Methods inherited from class org.opendaylight.protocol.pcep.impl.AbstractPCEPSessionNegotiatorFactory
getSessionNegotiator
-
Constructor Details
-
DefaultPCEPSessionNegotiatorFactory
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionListenerFactory listenerFactory, PcepSessionTimers timers, List<PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages) -
DefaultPCEPSessionNegotiatorFactory
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionListenerFactory listenerFactory, PcepSessionTimers timers, List<PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, PcepSessionTls tlsConfiguration) -
DefaultPCEPSessionNegotiatorFactory
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionListenerFactory listenerFactory, PCEPTimerProposal timers, List<PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, PcepSessionTls tlsConfiguration)
-
-
Method Details
-
createNegotiator
protected final AbstractPCEPSessionNegotiator createNegotiator(io.netty.util.concurrent.Promise<PCEPSession> promise, io.netty.channel.Channel channel, org.opendaylight.yangtools.yang.common.Uint8 sessionId) Description copied from class:AbstractPCEPSessionNegotiatorFactory
Create a new negotiator. This method needs to be implemented by subclasses to actually provide a negotiator.- Specified by:
createNegotiator
in classAbstractPCEPSessionNegotiatorFactory
- Parameters:
promise
- Session promise to be completed by the negotiatorchannel
- Associated channelsessionId
- Session ID assigned to the resulting session- Returns:
- a PCEP session negotiator
-
appendPeerSpecificTls
protected void appendPeerSpecificTls(@NonNull InetSocketAddress address, @NonNull TlvsBuilder builder)
-