Class MessageIntelligenceAgencyImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.statistics.ofpspecific.MessageIntelligenceAgencyImpl
-
- All Implemented Interfaces:
Runnable
,MessageIntelligenceAgency
,MessageSpy
,MessageIntelligenceAgencyMXBean
public class MessageIntelligenceAgencyImpl extends Object implements MessageIntelligenceAgency, MessageIntelligenceAgencyMXBean
Implementation ofMessageIntelligenceAgency
. Class counts message ofMessageSpy.StatisticsGroup
type and provides info as debug log.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.openflowplugin.api.openflow.statistics.ofpspecific.MessageSpy
MessageSpy.StatisticsGroup
-
-
Constructor Summary
Constructors Constructor Description MessageIntelligenceAgencyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
provideIntelligence()
void
resetStatistics()
void
run()
void
spyMessage(Class<?> message, MessageSpy.StatisticsGroup statGroup)
Spy message.
-
-
-
Method Detail
-
spyMessage
public void spyMessage(Class<?> message, MessageSpy.StatisticsGroup statGroup)
Description copied from interface:MessageSpy
Spy message.- Specified by:
spyMessage
in interfaceMessageSpy
- Parameters:
message
- from switch or to switch - depends on statGroupstatGroup
- statistics group
-
provideIntelligence
public List<String> provideIntelligence()
- Specified by:
provideIntelligence
in interfaceMessageIntelligenceAgency
- Specified by:
provideIntelligence
in interfaceMessageIntelligenceAgencyMXBean
-
resetStatistics
public void resetStatistics()
- Specified by:
resetStatistics
in interfaceMessageIntelligenceAgency
-
-