Class SalRoleServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<SetRoleInput,SetRoleOutput>
org.opendaylight.openflowplugin.impl.services.sal.SalRoleServiceImpl
- All Implemented Interfaces:
SalRoleService,org.opendaylight.yangtools.yang.binding.RpcService
public final class SalRoleServiceImpl
extends AbstractSimpleService<SetRoleInput,SetRoleOutput>
implements SalRoleService
-
Constructor Summary
ConstructorsConstructorDescriptionSalRoleServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeaderbuildRequest(Xid xid, SetRoleInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>>setRole(SetRoleInput input) Invokeset-roleRPC.Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractSimpleService
createCallbackMethods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, handleServiceCall, setEventIdentifier
-
Constructor Details
-
SalRoleServiceImpl
-
-
Method Details
-
buildRequest
- Specified by:
buildRequestin classAbstractService<SetRoleInput,SetRoleOutput>
-
setRole
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>> setRole(SetRoleInput input) Description copied from interface:SalRoleServiceInvokeset-roleRPC.Setting role to openflow device.- Specified by:
setRolein interfaceSalRoleService- Parameters:
input- ofset-role- Returns:
- output of
set-role
-