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
ConstructorDescriptionPacketProcessingServiceImpl
(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeader
buildRequest
(Xid xid, TransmitPacketInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TransmitPacketOutput>>
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 Details
-
PacketProcessingServiceImpl
public PacketProcessingServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Details
-
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
- Specified by:
buildRequest
in classAbstractService<TransmitPacketInput,
TransmitPacketOutput>
-