Class SessionStateImpl
java.lang.Object
org.opendaylight.bgpcep.pcep.topology.provider.session.stats.SessionStateImpl
- All Implemented Interfaces:
PcepSessionState
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
-
Field Summary
Fields inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.PcepSessionState
QNAME
-
Constructor Summary
ConstructorDescriptionSessionStateImpl
(TopologySessionStats topologySessionStats, PCEPSessionState session) -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint16
Return delegatedLspsCount, ornull
if it is not present.Return localPref, ornull
if it is not present.Return messages, ornull
if it is not present.Return peerCapabilities, ornull
if it is not present.Return peerPref, ornull
if it is not present.Return sessionDuration, ornull
if it is not present.Return synchronized, ornull
if it is not present.void
processRequestStats
(long durationMillis) void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.PcepSessionState
requireDelegatedLspsCount, requireSessionDuration, requireSynchronized
-
Constructor Details
-
SessionStateImpl
-
-
Method Details
-
processRequestStats
public void processRequestStats(long durationMillis) -
updateLastReceivedRptMsg
public void updateLastReceivedRptMsg() -
updateStatefulSentMsg
-
getSessionDuration
Description copied from interface:PcepSessionState
Return sessionDuration, ornull
if it is not present.Elapsed time (in d:H:m:s) from session-up until now.
- Specified by:
getSessionDuration
in interfacePcepSessionState
- Returns:
String
sessionDuration, ornull
if it is not present.
-
getSynchronized
Description copied from interface:PcepSessionState
Return synchronized, ornull
if it is not present.Represents synchronization status.
- Specified by:
getSynchronized
in interfacePcepSessionState
- Returns:
Boolean
synchronized, ornull
if it is not present.
-
getPeerCapabilities
Description copied from interface:PcepSessionState
Return peerCapabilities, ornull
if it is not present.Remote peer's (PCC) advertised capabilities.
- Specified by:
getPeerCapabilities
in interfacePcepSessionState
- Returns:
PeerCapabilities
peerCapabilities, ornull
if it is not present.
-
getMessages
Description copied from interface:PcepSessionState
Return messages, ornull
if it is not present.The statistics of PCEP received/sent messages from the PCE point of view.
- Specified by:
getMessages
in interfacePcepSessionState
- Returns:
Messages
messages, ornull
if it is not present.
-
getLocalPref
Description copied from interface:PcepSessionState
Return localPref, ornull
if it is not present.The local (PCE) preferences.
- Specified by:
getLocalPref
in interfacePcepSessionState
- Returns:
LocalPref
localPref, ornull
if it is not present.
-
getPeerPref
Description copied from interface:PcepSessionState
Return peerPref, ornull
if it is not present.The remote peer (PCC) preferences.
- Specified by:
getPeerPref
in interfacePcepSessionState
- Returns:
PeerPref
peerPref, ornull
if it is not present.
-
getDelegatedLspsCount
public org.opendaylight.yangtools.yang.common.Uint16 getDelegatedLspsCount()Description copied from interface:PcepSessionState
Return delegatedLspsCount, ornull
if it is not present.The number of delegated LSPs (tunnels) from PCC.
- Specified by:
getDelegatedLspsCount
in interfacePcepSessionState
- Returns:
Uint16
delegatedLspsCount, ornull
if it is not present.
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfacePcepSessionState
-