Class FlowCapableTransactionServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<SendBarrierInput,SendBarrierOutput>
org.opendaylight.openflowplugin.impl.services.sal.FlowCapableTransactionServiceImpl
- All Implemented Interfaces:
FlowCapableTransactionService,org.opendaylight.yangtools.yang.binding.RpcService
public class FlowCapableTransactionServiceImpl
extends AbstractSimpleService<SendBarrierInput,SendBarrierOutput>
implements FlowCapableTransactionService
-
Constructor Summary
ConstructorsConstructorDescriptionFlowCapableTransactionServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeaderbuildRequest(Xid xid, SendBarrierInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>sendBarrier(SendBarrierInput input) Invokesend-barrierRPC.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
-
FlowCapableTransactionServiceImpl
public FlowCapableTransactionServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext)
-
-
Method Details
-
sendBarrier
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>> sendBarrier(SendBarrierInput input) Description copied from interface:FlowCapableTransactionServiceInvokesend-barrierRPC.barrier request- Specified by:
sendBarrierin interfaceFlowCapableTransactionService- Parameters:
input- ofsend-barrier- Returns:
- output of
send-barrier
-
buildRequest
- Specified by:
buildRequestin classAbstractService<SendBarrierInput,SendBarrierOutput>
-