make plugin reply handling simpler

This commit is contained in:
Kevin Hester
2020-12-13 12:57:37 +08:00
parent ad8bcba5ef
commit ee8f4de5ab
5 changed files with 29 additions and 15 deletions

View File

@@ -15,9 +15,8 @@ class ReplyPlugin : public SinglePortPlugin
protected:
/** Called to handle a particular incoming message
@return true if you've guaranteed you've handled this message and no other handlers should be considered for it
/** For reply plugin we do all of our processing in the (normally optional)
* want_replies handling
*/
virtual bool handleReceived(const MeshPacket &mp);
virtual MeshPacket *allocReply();
};