Re-enabled MessageRelay::received() but documented that it is not called through polymorphism.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2582 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
1aefd3f093
commit
2b1aeea22c
|
@ -481,12 +481,13 @@ public:
|
|||
: MessageHandler(name,priority), m_receiver(receiver), m_id(id) { }
|
||||
|
||||
/**
|
||||
* This method is never called and must not be used or reimplemented.
|
||||
* This method is not called from MessageHandler through polymorphism
|
||||
* and should not be used or reimplemented.
|
||||
* @param msg The received message
|
||||
* @return Always false
|
||||
* @return True if the receiver exists and has handled the message
|
||||
*/
|
||||
virtual bool received(Message& msg)
|
||||
{ return false; }
|
||||
{ return m_receiver && m_receiver->received(msg,m_id); }
|
||||
|
||||
/**
|
||||
* Get the ID of this message relay
|
||||
|
|
Loading…
Reference in New Issue