Package io.joynr.messaging
Class NoOpRawMessagingPreprocessor
- java.lang.Object
-
- io.joynr.messaging.RawMessagingPreprocessor
-
- io.joynr.messaging.NoOpRawMessagingPreprocessor
-
public class NoOpRawMessagingPreprocessor extends RawMessagingPreprocessor
-
-
Constructor Summary
Constructors Constructor Description NoOpRawMessagingPreprocessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]process(byte[] rawMessage, Optional<Map<String,Serializable>> context)
-
-
-
Method Detail
-
process
public byte[] process(byte[] rawMessage, Optional<Map<String,Serializable>> context)- Specified by:
processin classRawMessagingPreprocessor- Parameters:
rawMessage- the raw joynr message bytescontext- you can optionally add String:Serializable pairs to this map, which will be made available to the message's recipient. The value must be serializable. The map is preinitialized.- Returns:
- the processed rawMessage. NOTE: you are responsible for returning a message that can still be parsed by the messaging skeleton; otherwise the message will be discarded.
-
-