Class RoleService
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
-
- org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<RoleRequestInputBuilder,RoleRequestOutput>
-
- org.opendaylight.openflowplugin.impl.services.RoleService
-
public class RoleService extends AbstractSimpleService<RoleRequestInputBuilder,RoleRequestOutput>
-
-
Constructor Summary
Constructors Constructor Description RoleService(RequestContextStack requestContextStack, DeviceContext deviceContext, Class<RoleRequestOutput> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OfHeader
buildRequest(Xid xid, RoleRequestInputBuilder input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.Uint64>
getGenerationIdFromDevice(Short version)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>>
submitRoleChange(OfpRole ofpRole, Short version, org.opendaylight.yangtools.yang.common.Uint64 generationId)
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractSimpleService
createCallback
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, handleServiceCall, setEventIdentifier
-
-
-
-
Constructor Detail
-
RoleService
public RoleService(RequestContextStack requestContextStack, DeviceContext deviceContext, Class<RoleRequestOutput> clazz)
-
-
Method Detail
-
buildRequest
protected OfHeader buildRequest(Xid xid, RoleRequestInputBuilder input)
- Specified by:
buildRequest
in classAbstractService<RoleRequestInputBuilder,RoleRequestOutput>
-
getGenerationIdFromDevice
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.Uint64> getGenerationIdFromDevice(Short version)
-
submitRoleChange
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>> submitRoleChange(OfpRole ofpRole, Short version, org.opendaylight.yangtools.yang.common.Uint64 generationId)
-
-