Class FlowRemovedTranslator
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.translator.FlowRemovedTranslator
-
- All Implemented Interfaces:
MessageTranslator<FlowRemoved,FlowRemoved>
- Direct Known Subclasses:
FlowRemovedV10Translator
public class FlowRemovedTranslator extends Object implements MessageTranslator<FlowRemoved,FlowRemoved>
TranslateFlowRemoved
message to FlowRemoved notification (omit instructions).
-
-
Constructor Summary
Constructors Constructor Description FlowRemovedTranslator(ConvertorExecutor convertorExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConvertorExecutor
getConvertorExecutor()
FlowRemoved
translate(FlowRemoved input, DeviceInfo deviceInfo, Object connectionDistinguisher)
Translates from input to output.protected MatchBuilder
translateMatch(FlowRemoved flowRemoved, DeviceInfo deviceInfo)
protected org.opendaylight.yangtools.yang.common.Uint8
translateTableId(FlowRemoved flowRemoved)
Translate the table ID in the FLOW_REMOVED message to SAL table ID.
-
-
-
Constructor Detail
-
FlowRemovedTranslator
public FlowRemovedTranslator(ConvertorExecutor convertorExecutor)
-
-
Method Detail
-
getConvertorExecutor
protected ConvertorExecutor getConvertorExecutor()
-
translate
public FlowRemoved translate(FlowRemoved input, DeviceInfo deviceInfo, Object connectionDistinguisher)
Description copied from interface:MessageTranslator
Translates from input to output.- Specified by:
translate
in interfaceMessageTranslator<FlowRemoved,FlowRemoved>
- Parameters:
input
- inputdeviceInfo
- node informationconnectionDistinguisher
- connection distinguisher- Returns:
- message of output type
-
translateMatch
protected MatchBuilder translateMatch(FlowRemoved flowRemoved, DeviceInfo deviceInfo)
-
translateTableId
protected org.opendaylight.yangtools.yang.common.Uint8 translateTableId(FlowRemoved flowRemoved)
Translate the table ID in the FLOW_REMOVED message to SAL table ID.- Parameters:
flowRemoved
- FLOW_REMOVED message.- Returns:
- SAL table ID.
-
-