Class DropTestRpcProvider
- java.lang.Object
- 
- org.opendaylight.openflowplugin.testcommon.DropTestRpcProvider
 
- 
- All Implemented Interfaces:
- AutoCloseable
 
 public class DropTestRpcProvider extends Object implements AutoCloseable Provides activation and deactivation of drop responder service - responds on packetIn.
- 
- 
Constructor SummaryConstructors Constructor Description DropTestRpcProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearStats()Reset message counts.voidclose()DropTestStatsgetStats()Returns the message counts.booleanisActive()Returns the active state.voidsetFlowService(SalFlowService flowService)voidsetNotificationService(org.opendaylight.mdsal.binding.api.NotificationService notificationService)voidstart()Activates drop responder.
 
- 
- 
- 
Method Detail- 
setFlowServicepublic void setFlowService(SalFlowService flowService) 
 - 
setNotificationServicepublic void setNotificationService(org.opendaylight.mdsal.binding.api.NotificationService notificationService) 
 - 
startpublic void start() Activates drop responder.
 - 
getStatspublic DropTestStats getStats() Returns the message counts.
 - 
clearStatspublic void clearStats() Reset message counts.
 - 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
isActivepublic boolean isActive() Returns the active state.
 
- 
 
-