Package jadex.bridge.fipa
Class FipaMessagePreprocessor
- java.lang.Object
-
- jadex.bridge.fipa.FipaMessagePreprocessor
-
- All Implemented Interfaces:
jadex.bridge.component.impl.IMessagePreprocessor<FipaMessage>
public class FipaMessagePreprocessor extends java.lang.Object implements jadex.bridge.component.impl.IMessagePreprocessor<FipaMessage>
Preprocessor fpr FIPA messages.
-
-
Constructor Summary
Constructors Constructor Description FipaMessagePreprocessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReply(FipaMessage message, FipaMessage reply)
Optionally check for reply matches.void
preprocessMessage(IMsgHeader header, FipaMessage msg)
Preprocess a message before sending.
-
-
-
Method Detail
-
preprocessMessage
public void preprocessMessage(IMsgHeader header, FipaMessage msg)
Preprocess a message before sending.- Specified by:
preprocessMessage
in interfacejadex.bridge.component.impl.IMessagePreprocessor<FipaMessage>
- Parameters:
header
- The message header, may be changed by preprocessor.msg
- The user object, may be changed by preprocessor.
-
isReply
public boolean isReply(FipaMessage message, FipaMessage reply)
Optionally check for reply matches. Currently only used in BDIX.- Specified by:
isReply
in interfacejadex.bridge.component.impl.IMessagePreprocessor<FipaMessage>
- Parameters:
message
- The initial message object.reply
- The replied message object.- Returns:
- true when the reply matches the initial message.
-
-