Interface MessageTranslator<I,O>
- Type Parameters:
I
- input messageO
- output message
- All Known Implementing Classes:
AggregatedFlowStatisticsTranslator
,FlowRemovedTranslator
,FlowRemovedV10Translator
,PacketReceivedTranslator
,PortUpdateTranslator
public interface MessageTranslator<I,O>
Message translator.
-
Method Summary
Modifier and TypeMethodDescriptiontranslate
(I input, DeviceInfo deviceInfo, Object connectionDistinguisher) Translates from input to output.
-
Method Details
-
translate
Translates from input to output.- Parameters:
input
- inputdeviceInfo
- node informationconnectionDistinguisher
- connection distinguisher- Returns:
- message of output type
-