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()
PcepSessionState
getSessionDuration
in interface PcepSessionState
java.lang.String
sessionDuration
, or null
if not presentpublic Boolean isSynchronized()
PcepSessionState
isSynchronized
in interface PcepSessionState
java.lang.Boolean
synchronized
, or null
if not presentpublic PeerCapabilities getPeerCapabilities()
PcepSessionState
getPeerCapabilities
in interface PcepSessionState
org.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()
PcepSessionState
getMessages
in interface PcepSessionState
org.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()
PcepSessionState
getLocalPref
in interface PcepSessionState
org.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()
PcepSessionState
getPeerPref
in interface PcepSessionState
org.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()
PcepSessionState
getDelegatedLspsCount
in interface PcepSessionState
java.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.DataContainer
Copyright © 2019 OpenDaylight. All rights reserved.