[zeromq-dev] Request: Serialization hook.
Oliver Smith
oliver at kfs.org
Thu Aug 12 06:06:44 CEST 2010
On 8/11/2010 10:50 PM, Steven McCoy wrote:
> As it is C++ why would you not just derive a new function overloading
> Socket class?
>
> Such semantics would also have requests for encryption, compression,
> authentication, entitlements, auditing, subscription management, etc.
Because it requires insight into what is underneath the zmq::socket_t.
If you really need encryption/compression, you could do those in your
serialize, with the advantage of only being invoked when the data is
actually going out of memory space.
- Oliver
More information about the zeromq-dev
mailing list