Class PacketProcessingServiceImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
-
- org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<TransmitPacketInput,TransmitPacketOutput>
-
- org.opendaylight.openflowplugin.impl.services.sal.PacketProcessingServiceImpl
-
- All Implemented Interfaces:
PacketProcessingService
,org.opendaylight.yangtools.yang.binding.RpcService
public final class PacketProcessingServiceImpl extends AbstractSimpleService<TransmitPacketInput,TransmitPacketOutput> implements PacketProcessingService
-
-
Constructor Summary
Constructors Constructor Description PacketProcessingServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OfHeader
buildRequest(Xid xid, TransmitPacketInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TransmitPacketOutput>>
transmitPacket(TransmitPacketInput input)
Invoketransmit-packet
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
-
PacketProcessingServiceImpl
public PacketProcessingServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Detail
-
transmitPacket
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TransmitPacketOutput>> transmitPacket(TransmitPacketInput input)
Description copied from interface:PacketProcessingService
Invoketransmit-packet
RPC.Sending packet out through openflow device.
- Specified by:
transmitPacket
in interfacePacketProcessingService
- Parameters:
input
- oftransmit-packet
- Returns:
- output of
transmit-packet
-
buildRequest
protected OfHeader buildRequest(Xid xid, TransmitPacketInput input)
- Specified by:
buildRequest
in classAbstractService<TransmitPacketInput,TransmitPacketOutput>
-
-