two clients interact with each other on top of the message layer
in the body of the message, I need to include a field indicating any data type
From client A, I send the field as shared_ptr<TYPEA> to the message level. I define this field as shared_ptr<void> in the message layer. But how can I convert this field back to shared_ptr<TYPEA> in client B?
Or should I define shared_ptr<void> in the message layer as something else?
thanks
source share