Class BmpMockSessionListener
- java.lang.Object
-
- org.opendaylight.protocol.bmp.mock.BmpMockSessionListener
-
- All Implemented Interfaces:
EventListener
,BmpSessionListener
public final class BmpMockSessionListener extends Object implements BmpSessionListener
-
-
Constructor Summary
Constructors Constructor Description BmpMockSessionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getNumberOfMessagesReceived()
boolean
getStatus()
void
onMessage(org.opendaylight.yangtools.yang.binding.Notification message)
void
onSessionDown(Exception exception)
void
onSessionUp(BmpSession session)
-
-
-
Method Detail
-
onSessionUp
public void onSessionUp(BmpSession session)
- Specified by:
onSessionUp
in interfaceBmpSessionListener
-
onSessionDown
public void onSessionDown(Exception exception)
- Specified by:
onSessionDown
in interfaceBmpSessionListener
-
onMessage
public void onMessage(org.opendaylight.yangtools.yang.binding.Notification message)
- Specified by:
onMessage
in interfaceBmpSessionListener
-
getStatus
public boolean getStatus()
-
getNumberOfMessagesReceived
public long getNumberOfMessagesReceived()
-
-