Class PCCTunnelManagerImpl
java.lang.Object
org.opendaylight.protocol.pcep.pcc.mock.PCCTunnelManagerImpl
- All Implemented Interfaces:
PCCTunnelManager
-
Constructor Summary
ConstructorDescriptionPCCTunnelManagerImpl
(int lspsCount, InetAddress address, int redelegationTimeout, int stateTimeout, io.netty.util.Timer timer, Optional<TimerHandler> timerHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
PCCTunnelManagerImpl
public PCCTunnelManagerImpl(int lspsCount, InetAddress address, int redelegationTimeout, int stateTimeout, io.netty.util.Timer timer, Optional<TimerHandler> timerHandler)
-
-
Method Details
-
reportToAll
-
takeDelegation
-
onSessionUp
- Specified by:
onSessionUp
in interfacePCCTunnelManager
-
onSessionDown
- Specified by:
onSessionDown
in interfacePCCTunnelManager
-
addTunnel
-
removeTunnel
-
onMessagePcupd
- Specified by:
onMessagePcupd
in interfacePCCTunnelManager
-
onMessagePcInitiate
- Specified by:
onMessagePcInitiate
in interfacePCCTunnelManager
-