Class OpenflowpluginTableFeaturesTestServiceProvider
- java.lang.Object
-
- org.opendaylight.openflowplugin.test.OpenflowpluginTableFeaturesTestServiceProvider
-
- All Implemented Interfaces:
AutoCloseable,SalTableService,org.opendaylight.yangtools.yang.binding.RpcService
public class OpenflowpluginTableFeaturesTestServiceProvider extends Object implements AutoCloseable, SalTableService
-
-
Constructor Summary
Constructors Constructor Description OpenflowpluginTableFeaturesTestServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.opendaylight.mdsal.binding.api.NotificationPublishServicegetNotificationService()Get notification service.org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService>getTableRegistration()Get table registration.org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTableFeaturesTestServiceProvider>register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)voidsetNotificationService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService)SetnotificationService.voidsetTableRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> tableRegistration)SettableRegistration.voidstart()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>>updateTable(UpdateTableInput input)Configuring openflow table.
-
-
-
Method Detail
-
getTableRegistration
public org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> getTableRegistration()
Get table registration.- Returns:
tableRegistration
-
setTableRegistration
public void setTableRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> tableRegistration)
SettableRegistration.
-
getNotificationService
public org.opendaylight.mdsal.binding.api.NotificationPublishService getNotificationService()
Get notification service.- Returns:
notificationService
-
setNotificationService
public void setNotificationService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService)
SetnotificationService.
-
start
public void start()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
updateTable
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>> updateTable(UpdateTableInput input)
Description copied from interface:SalTableServiceConfiguring openflow table.- Specified by:
updateTablein interfaceSalTableService
-
register
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTableFeaturesTestServiceProvider> register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)
-
-