Class SessionStateImpl

  • All Implemented Interfaces:
    PcepSessionState, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public final class SessionStateImpl
    extends Object
    implements PcepSessionState
    • Method Detail

      • processRequestStats

        public void processRequestStats​(long durationMillis)
      • updateLastReceivedRptMsg

        public void updateLastReceivedRptMsg()
      • updateStatefulSentMsg

        public void updateStatefulSentMsg​(Message msg)
      • getSessionDuration

        public String getSessionDuration()
        Description copied from interface: PcepSessionState
        Return sessionDuration, or null if it is not present.
             
                 Elapsed time (in d:H:m:s) from session-up until now.
             
         
        Specified by:
        getSessionDuration in interface PcepSessionState
        Returns:
        java.lang.String sessionDuration, or null if it is not present.
      • getSynchronized

        public Boolean getSynchronized()
        Description copied from interface: PcepSessionState
        Return synchronized, or null if it is not present.
             
                 Represents synchronization status.
             
         
        Specified by:
        getSynchronized in interface PcepSessionState
        Returns:
        java.lang.Boolean synchronized, or null if it is not present.
      • getPeerCapabilities

        public PeerCapabilities getPeerCapabilities()
        Description copied from interface: PcepSessionState
        Return peerCapabilities, or null if it is not present.
             
                 Remote peer's (PCC) advertised capabilities.
             
         
        Specified by:
        getPeerCapabilities in interface PcepSessionState
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerCapabilities peerCapabilities, or null if it is not present.
      • getMessages

        public Messages getMessages()
        Description copied from interface: PcepSessionState
        Return messages, or null if it is not present.
             
                 The statistics of PCEP received/sent messages from the PCE point of view.
             
         
        Specified by:
        getMessages in interface PcepSessionState
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages messages, or null if it is not present.
      • getLocalPref

        public LocalPref getLocalPref()
        Description copied from interface: PcepSessionState
        Return localPref, or null if it is not present.
             
                 The local (PCE) preferences.
             
         
        Specified by:
        getLocalPref in interface PcepSessionState
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref localPref, or null if it is not present.
      • getPeerPref

        public PeerPref getPeerPref()
        Description copied from interface: PcepSessionState
        Return peerPref, or null if it is not present.
             
                 The remote peer (PCC) preferences.
             
         
        Specified by:
        getPeerPref in interface PcepSessionState
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref peerPref, or null if it is not present.
      • getDelegatedLspsCount

        public org.opendaylight.yangtools.yang.common.Uint16 getDelegatedLspsCount()
        Description copied from interface: PcepSessionState
        Return delegatedLspsCount, or null if it is not present.
             
                 The number of delegated LSPs (tunnels) from PCC.
             
         
        Specified by:
        getDelegatedLspsCount in interface PcepSessionState
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 delegatedLspsCount, or null if it is not present.
      • implementedInterface

        public Class<PcepSessionState> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface PcepSessionState