Class DefaultPCEPSessionNegotiatorFactory

java.lang.Object
org.opendaylight.protocol.pcep.impl.AbstractPCEPSessionNegotiatorFactory
org.opendaylight.protocol.pcep.impl.DefaultPCEPSessionNegotiatorFactory
All Implemented Interfaces:
org.opendaylight.protocol.pcep.PCEPSessionNegotiatorFactory

public class DefaultPCEPSessionNegotiatorFactory extends AbstractPCEPSessionNegotiatorFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultPCEPSessionNegotiatorFactory(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory listenerFactory, org.opendaylight.protocol.pcep.PCEPTimerProposal timers, List<org.opendaylight.protocol.pcep.PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTls tlsConfiguration)
     
    DefaultPCEPSessionNegotiatorFactory(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory listenerFactory, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTimers timers, List<org.opendaylight.protocol.pcep.PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages)
     
    DefaultPCEPSessionNegotiatorFactory(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory listenerFactory, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTimers timers, List<org.opendaylight.protocol.pcep.PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTls tlsConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    appendPeerSpecificTls(@NonNull InetSocketAddress address, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.open.object.open.TlvsBuilder builder)
     
    createNegotiator(io.netty.util.concurrent.Promise<org.opendaylight.protocol.pcep.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultPCEPSessionNegotiatorFactory

      public DefaultPCEPSessionNegotiatorFactory(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory listenerFactory, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTimers timers, List<org.opendaylight.protocol.pcep.PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages)
    • DefaultPCEPSessionNegotiatorFactory

      public DefaultPCEPSessionNegotiatorFactory(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory listenerFactory, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTimers timers, List<org.opendaylight.protocol.pcep.PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTls tlsConfiguration)
    • DefaultPCEPSessionNegotiatorFactory

      public DefaultPCEPSessionNegotiatorFactory(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory listenerFactory, org.opendaylight.protocol.pcep.PCEPTimerProposal timers, List<org.opendaylight.protocol.pcep.PCEPCapability> capabilities, org.opendaylight.yangtools.yang.common.Uint16 maxUnknownMessages, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.config.rev230112.PcepSessionTls tlsConfiguration)
  • Method Details

    • createNegotiator

      protected final AbstractPCEPSessionNegotiator createNegotiator(io.netty.util.concurrent.Promise<org.opendaylight.protocol.pcep.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 class AbstractPCEPSessionNegotiatorFactory
      Parameters:
      promise - Session promise to be completed by the negotiator
      channel - Associated channel
      sessionId - Session ID assigned to the resulting session
      Returns:
      a PCEP session negotiator
    • appendPeerSpecificTls

      protected void appendPeerSpecificTls(@NonNull InetSocketAddress address, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.open.object.open.TlvsBuilder builder)