public class RoleService extends AbstractSimpleService<RoleRequestInputBuilder,RoleRequestOutput>
Constructor and Description |
---|
RoleService(RequestContextStack requestContextStack,
DeviceContext deviceContext,
Class<RoleRequestOutput> clazz) |
Modifier and Type | Method and Description |
---|---|
protected OfHeader |
buildRequest(Xid xid,
RoleRequestInputBuilder input) |
Future<BigInteger> |
getGenerationIdFromDevice(Short version) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>> |
submitRoleChange(OfpRole ofpRole,
Short version,
BigInteger generationId) |
createCallback
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, handleServiceCall, setEventIdentifier
public RoleService(RequestContextStack requestContextStack, DeviceContext deviceContext, Class<RoleRequestOutput> clazz)
protected OfHeader buildRequest(Xid xid, RoleRequestInputBuilder input) throws ServiceException
buildRequest
in class AbstractService<RoleRequestInputBuilder,RoleRequestOutput>
ServiceException
public Future<BigInteger> getGenerationIdFromDevice(Short version)
public Future<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>> submitRoleChange(OfpRole ofpRole, Short version, BigInteger generationId)
Copyright © 2018 OpenDaylight. All rights reserved.