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 Details

    • FlowRemovedTranslator

      public FlowRemovedTranslator(ConvertorExecutor convertorExecutor)
  • Method Details

    • 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 interface MessageTranslator<FlowRemoved,FlowRemoved>
      Parameters:
      input - input
      deviceInfo - node information
      connectionDistinguisher - 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.