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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.opendaylight.mdsal.binding.api.NotificationPublishService
Get notification service.org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService>
Get table registration.org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTableFeaturesTestServiceProvider>
register
(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry) void
setNotificationService
(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService) SetnotificationService
.void
setTableRegistration
(org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> tableRegistration) SettableRegistration
.void
start()
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>>
updateTable
(UpdateTableInput input) Invokeupdate-table
RPC.
-
Constructor Details
-
OpenflowpluginTableFeaturesTestServiceProvider
public OpenflowpluginTableFeaturesTestServiceProvider()
-
-
Method Details
-
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:
close
in interfaceAutoCloseable
-
updateTable
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>> updateTable(UpdateTableInput input) Description copied from interface:SalTableService
Invokeupdate-table
RPC.Configuring openflow table.
- Specified by:
updateTable
in interfaceSalTableService
- Parameters:
input
- ofupdate-table
- Returns:
- output of
update-table
-
register
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTableFeaturesTestServiceProvider> register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)
-