Discussion:
transferring data between protocols for client
Akshya Gupta
2017-11-04 01:13:46 UTC
Permalink
Hello All,

I had a question regarding passing the data between protocols for a thrift
client.
I have some data that gets created during the "WriteMessageBegin" That is
run for the "oprot" instance.
I need the data to be transferred to "ReadMessageBegin" which is run for
the "iprot" instance.
From what I have seen, I did not find any such mechanism where this could
be done.

For thrift server, this is possible coz the call is made in Process method
where the data can be transferred from iprot instance to oprot instance (or
vice-versa).

Is there anything that can be done for client input and output protocols
similarly?

Thanks,
Akshya Gupta
--
This message and its attachments are intended only for the addressee and
may contain legally privileged and/or confidential information. If you are
not the intended recipient, you are hereby notified that you must not use,
disseminate, or copy this material in any form, or take any action based
upon it. If you have received this message by error, please immediately
delete it and its attachments and notify the sender at SnapRoute, Inc. by
electronic mail message reply. Thank you.
Loading...