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
Constructors Constructor Description FlowCapableTransactionServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
FlowCapableTransactionServiceImpl
public FlowCapableTransactionServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext)
-
-
Method Detail
-
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
protected OfHeader buildRequest(Xid xid, SendBarrierInput input)
- Specified by:
buildRequest
in classAbstractService<SendBarrierInput,SendBarrierOutput>
-
-