Please state the source:
Messagereceiver, this class is a base class for message acceptance:
/** * A multiple message receiver to being invoked by A message relay * Multiple message Receiver call messaging * @short A multiple Message receiver * @short multiple message Receivers */class YATE_API messagereceiver:public genobject{public: /** * This method was called from the Me Ssage relay. * This method is called when the message is forwarded * @param msg the received message * @ parameter msg, received message * @param ID The identifier with which the Relay was created * @ parameter ID, the forwarding message was created identifier * @return True to stop processing, false to try other handlers * @ return RTU E, the message is no longer forwarded, false, and continues to be forwarded to the other processor * /virtual bool received (message& MSG, int id) = 0;};
Yate Learning--yatengine.h--class Yate_api messagereceiver:public Genobject