Github user pivotal-jbarrett commented on the issue:
https://github.com/apache/geode-native/pull/105
> I suggest to fix the issue by defining handshake pseudo message within
the range probably defined for such pseudo messages by original design i.e.:
> typedef enum {
> /* Server couldn't read message; handle it like a server side
> exception that needs retries */
> HANDSHAKE = -3
> NOT_PUBLIC_API_WITH_TIMEOUT = -2,
I think that would certainly work better but I think ultimately the fix is
to remove the ambiguity between the C++ API and the Server API by strongly
typing the duration values as addressed in the mentioned tickets. All duration
values can be cast to the internal API supported unit without any ambiguity.
After which there is no need to create this pseudo message to change the unit
of the ambiguous int value.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---