+ virtual bool OnExecute(const wxString& topic, const void *data, size_t size, wxIPCFormat format);
+ virtual const void *OnRequest(const wxString& topic, const wxString& item, size_t *size, wxIPCFormat format);
+ virtual bool OnPoke(const wxString& topic, const wxString& item, const void *data, size_t size, wxIPCFormat format);
+ virtual bool OnStartAdvise(const wxString& topic, const wxString& item);
+ virtual bool OnStopAdvise(const wxString& topic, const wxString& item);
+ virtual bool DoAdvise(const wxString& item, const void *data, size_t size, wxIPCFormat format);
+ virtual bool OnDisconnect();
+
+ // topic for which we advise the client or empty if none
+ wxString m_advise;
+
+protected:
+ // the data returned by last OnRequest(): we keep it in this buffer to
+ // ensure that the pointer we return from OnRequest() stays valid
+ wxCharBuffer m_requestData;