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
ConstructorDescriptionFlowCapableTransactionServiceImpl
(RequestContextStack requestContextStack, DeviceContext deviceContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeader
buildRequest
(Xid xid, SendBarrierInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>
sendBarrier
(SendBarrierInput input) Invokesend-barrier
RPC.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 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:FlowCapableTransactionService
Invokesend-barrier
RPC.barrier request
- Specified by:
sendBarrier
in interfaceFlowCapableTransactionService
- Parameters:
input
- ofsend-barrier
- Returns:
- output of
send-barrier
-
buildRequest
- Specified by:
buildRequest
in classAbstractService<SendBarrierInput,
SendBarrierOutput>
-