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>
Translate
FlowRemoved message to FlowRemoved notification (omit instructions).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConvertorExecutortranslate(FlowRemoved input, DeviceInfo deviceInfo, Object connectionDistinguisher) Translates from input to output.protected MatchBuildertranslateMatch(FlowRemoved flowRemoved, DeviceInfo deviceInfo) protected org.opendaylight.yangtools.yang.common.Uint8translateTableId(FlowRemoved flowRemoved) Translate the table ID in the FLOW_REMOVED message to SAL table ID.
-
Constructor Details
-
FlowRemovedTranslator
-
-
Method Details
-
getConvertorExecutor
-
translate
public FlowRemoved translate(FlowRemoved input, DeviceInfo deviceInfo, Object connectionDistinguisher) Description copied from interface:MessageTranslatorTranslates from input to output.- Specified by:
translatein interfaceMessageTranslator<FlowRemoved,FlowRemoved> - Parameters:
input- inputdeviceInfo- node informationconnectionDistinguisher- connection distinguisher- Returns:
- message of output type
-
translateMatch
-
translateTableId
Translate the table ID in the FLOW_REMOVED message to SAL table ID.- Parameters:
flowRemoved- FLOW_REMOVED message.- Returns:
- SAL table ID.
-