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
-
Method Summary
Modifier and TypeMethodDescriptionprotected ConvertorExecutor
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 Details
-
FlowRemovedTranslator
-
-
Method Details
-
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
-
translateTableId
Translate the table ID in the FLOW_REMOVED message to SAL table ID.- Parameters:
flowRemoved
- FLOW_REMOVED message.- Returns:
- SAL table ID.
-