void CodecAwareConduit::receiveCodecEvent(shared_ptr<Event> evt){ // This is called from handleCallbacks, which already holds conduit_mutex remote_codec = extract_simple_codec_map(evt); remote_reverse_codec = reverse_simple_codec_map(remote_codec); rebuildEventCallbacks(); remote_codec_cond.notify_all(); }
map<int, string> extract_simple_codec_map(shared_ptr<Event> evt){ return extract_simple_codec_map(evt->getData()); }