Class PCCTunnelManagerImpl
- java.lang.Object
-
- org.opendaylight.protocol.pcep.pcc.mock.PCCTunnelManagerImpl
-
- All Implemented Interfaces:
PCCTunnelManager
public final class PCCTunnelManagerImpl extends Object implements PCCTunnelManager
-
-
Constructor Summary
Constructors Constructor Description PCCTunnelManagerImpl(int lspsCount, InetAddress address, int redelegationTimeout, int stateTimeout, io.netty.util.Timer timer, Optional<TimerHandler> timerHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTunnel(Requests request, PCCSession session)
void
onMessagePcInitiate(Requests request, PCCSession session)
void
onMessagePcupd(Updates update, PCCSession session)
void
onSessionDown(PCCSession session)
void
onSessionUp(PCCSession session)
protected void
removeTunnel(Requests request, PCCSession session)
protected void
reportToAll(Updates update, PCCSession session)
protected void
takeDelegation(Requests request, PCCSession session)
-
-
-
Constructor Detail
-
PCCTunnelManagerImpl
public PCCTunnelManagerImpl(int lspsCount, InetAddress address, int redelegationTimeout, int stateTimeout, io.netty.util.Timer timer, Optional<TimerHandler> timerHandler)
-
-
Method Detail
-
reportToAll
protected void reportToAll(Updates update, PCCSession session)
-
takeDelegation
protected void takeDelegation(Requests request, PCCSession session)
-
onSessionUp
public void onSessionUp(PCCSession session)
- Specified by:
onSessionUp
in interfacePCCTunnelManager
-
onSessionDown
public void onSessionDown(PCCSession session)
- Specified by:
onSessionDown
in interfacePCCTunnelManager
-
addTunnel
protected void addTunnel(Requests request, PCCSession session)
-
removeTunnel
protected void removeTunnel(Requests request, PCCSession session)
-
onMessagePcupd
public void onMessagePcupd(Updates update, PCCSession session)
- Specified by:
onMessagePcupd
in interfacePCCTunnelManager
-
onMessagePcInitiate
public void onMessagePcInitiate(Requests request, PCCSession session)
- Specified by:
onMessagePcInitiate
in interfacePCCTunnelManager
-
-