REC RPC library
|
topic listener wrapper interface More...
#include <rec_rpc_common.h>
Public Member Functions | |
virtual serialization::SerializablePtr | createData () const =0 |
virtual void | listen (const serialization::Serializable &data, const rec::rpc::ClientInfo &client, rec::rpc::ErrorCode errorCode) const =0 |
topic listener wrapper interface
The interface that topic listener wrappers must implement. It is recommended to use the preprocessor macros to do this.
Definition at line 147 of file rec_rpc_common.h.
|
pure virtual |
This method creates an instance of the topic data type.
|
pure virtual |
This method is called to invoke the topic listener.
data | topic data. |
client | Info about the calling client. |
errorCode | Error code. |