Class DropTestRpcProvider
java.lang.Object
org.opendaylight.openflowplugin.testcommon.DropTestRpcProvider
- All Implemented Interfaces:
AutoCloseable
Provides activation and deactivation of drop responder service - responds on packetIn.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Reset message counts.void
close()
getStats()
Returns the message counts.boolean
isActive()
Returns the active state.void
setFlowService
(SalFlowService flowService) void
setNotificationService
(org.opendaylight.mdsal.binding.api.NotificationService notificationService) void
start()
Activates drop responder.
-
Constructor Details
-
DropTestRpcProvider
public DropTestRpcProvider()
-
-
Method Details
-
setFlowService
-
setNotificationService
public void setNotificationService(org.opendaylight.mdsal.binding.api.NotificationService notificationService) -
start
public void start()Activates drop responder. -
getStats
Returns the message counts. -
clearStats
public void clearStats()Reset message counts. -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
isActive
public boolean isActive()Returns the active state.
-