Interface MessageTranslator<I,O>

Type Parameters:
I - input message
O - output message
All Known Implementing Classes:
AggregatedFlowStatisticsTranslator, FlowRemovedTranslator, FlowRemovedV10Translator, PacketReceivedTranslator, PortUpdateTranslator

public interface MessageTranslator<I,O>
Message translator.
  • Method Summary

    Modifier and Type
    Method
    Description
    translate(I input, DeviceInfo deviceInfo, Object connectionDistinguisher)
    Translates from input to output.
  • Method Details

    • translate

      O translate(I input, DeviceInfo deviceInfo, Object connectionDistinguisher)
      Translates from input to output.
      Parameters:
      input - input
      deviceInfo - node information
      connectionDistinguisher - connection distinguisher
      Returns:
      message of output type