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 of
MessageIntelligenceAgency
.
Class counts message of MessageSpy.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
run()
void
spyMessage
(Class<?> message, MessageSpy.StatisticsGroup statGroup) Spy message.
-
Constructor Details
-
MessageIntelligenceAgencyImpl
public MessageIntelligenceAgencyImpl()
-
-
Method Details
-
spyMessage
Description copied from interface:MessageSpy
Spy message.- Specified by:
spyMessage
in interfaceMessageSpy
- Parameters:
message
- from switch or to switch - depends on statGroupstatGroup
- statistics group
-
run
public void run() -
provideIntelligence
- Specified by:
provideIntelligence
in interfaceMessageIntelligenceAgency
- Specified by:
provideIntelligence
in interfaceMessageIntelligenceAgencyMXBean
-
resetStatistics
public void resetStatistics()- Specified by:
resetStatistics
in interfaceMessageIntelligenceAgency
-