Class TestingSessionListener

java.lang.Object
org.opendaylight.protocol.pcep.testtool.TestingSessionListener
All Implemented Interfaces:
org.opendaylight.protocol.pcep.PCEPSessionListener

public class TestingSessionListener extends Object implements org.opendaylight.protocol.pcep.PCEPSessionListener
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(org.opendaylight.protocol.pcep.PCEPSession session, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message message)
     
    void
    onSessionDown(org.opendaylight.protocol.pcep.PCEPSession session, Exception exception)
     
    void
    onSessionTerminated(org.opendaylight.protocol.pcep.PCEPSession session, org.opendaylight.protocol.pcep.PCEPTerminationReason cause)
     
    void
    onSessionUp(org.opendaylight.protocol.pcep.PCEPSession session)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestingSessionListener

      public TestingSessionListener()
  • Method Details

    • onMessage

      public void onMessage(org.opendaylight.protocol.pcep.PCEPSession session, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message message)
      Specified by:
      onMessage in interface org.opendaylight.protocol.pcep.PCEPSessionListener
    • onSessionUp

      public void onSessionUp(org.opendaylight.protocol.pcep.PCEPSession session)
      Specified by:
      onSessionUp in interface org.opendaylight.protocol.pcep.PCEPSessionListener
    • onSessionDown

      public void onSessionDown(org.opendaylight.protocol.pcep.PCEPSession session, Exception exception)
      Specified by:
      onSessionDown in interface org.opendaylight.protocol.pcep.PCEPSessionListener
    • onSessionTerminated

      public void onSessionTerminated(org.opendaylight.protocol.pcep.PCEPSession session, org.opendaylight.protocol.pcep.PCEPTerminationReason cause)
      Specified by:
      onSessionTerminated in interface org.opendaylight.protocol.pcep.PCEPSessionListener