public final class SessionStateImpl extends Object implements PcepSessionState
QNAME| Constructor and Description |
|---|
SessionStateImpl(TopologySessionStats topologySessionStats) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDelegatedLspsCount()
The number of delegated LSPs (tunnels) from PCC.
|
Class<? extends org.opendaylight.yangtools.yang.binding.DataContainer> |
getImplementedInterface() |
LocalPref |
getLocalPref()
The local (PCE) preferences.
|
Messages |
getMessages()
The statistics of PCEP received/sent messages from the PCE point of view.
|
PeerCapabilities |
getPeerCapabilities()
Remote peer's (PCC) advertised capabilities.
|
PeerPref |
getPeerPref()
The remote peer (PCC) preferences.
|
String |
getSessionDuration()
Elapsed time (in d:H:m:s) from session-up until now.
|
void |
init(PCEPSessionState session) |
Boolean |
isSynchronized()
Represents synchronization status.
|
void |
processRequestStats(long duration) |
void |
updateLastReceivedRptMsg() |
void |
updateStatefulSentMsg(Message msg) |
public SessionStateImpl(TopologySessionStats topologySessionStats)
public void init(PCEPSessionState session)
public void processRequestStats(long duration)
public void updateLastReceivedRptMsg()
public void updateStatefulSentMsg(Message msg)
public String getSessionDuration()
PcepSessionStategetSessionDuration in interface PcepSessionStatejava.lang.String sessionDuration, or null if not presentpublic Boolean isSynchronized()
PcepSessionStateisSynchronized in interface PcepSessionStatejava.lang.Boolean synchronized, or null if not presentpublic PeerCapabilities getPeerCapabilities()
PcepSessionStategetPeerCapabilities in interface PcepSessionStateorg.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerCapabilities peerCapabilities, or null if not presentpublic Messages getMessages()
PcepSessionStategetMessages in interface PcepSessionStateorg.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages messages, or null if not presentpublic LocalPref getLocalPref()
PcepSessionStategetLocalPref in interface PcepSessionStateorg.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref localPref, or null if not presentpublic PeerPref getPeerPref()
PcepSessionStategetPeerPref in interface PcepSessionStateorg.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref peerPref, or null if not presentpublic Integer getDelegatedLspsCount()
PcepSessionStategetDelegatedLspsCount in interface PcepSessionStatejava.lang.Integer delegatedLspsCount, or null if not presentpublic Class<? extends org.opendaylight.yangtools.yang.binding.DataContainer> getImplementedInterface()
getImplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerCopyright © 2019 OpenDaylight. All rights reserved.