pivotal-jbarrett commented on code in PR #962: URL: https://github.com/apache/geode-native/pull/962#discussion_r861181244
########## cppcache/src/ClientProxyMembershipID.hpp: ########## @@ -51,26 +46,37 @@ class ClientProxyMembershipID : public DSMemberForVersionStamp { const std::chrono::seconds durableClientTimeOut = std::chrono::seconds::zero()); - // This constructor is only for testing and should not be used for any - // other purpose. See testEntriesMapForVersioning.cpp for more details + /** + * This constructor is only for testing and should not be used for any + * other purpose. See testEntriesMapForVersioning.cpp for more details + */ ClientProxyMembershipID(const uint8_t* hostAddr, uint32_t hostAddrLen, uint32_t hostPort, const char* dsname, const char* uniqueTag, uint32_t vmViewId); - // ClientProxyMembershipID(const char *durableClientId = nullptr, const - // uint32_t durableClntTimeOut = 0); + ClientProxyMembershipID(); + ~ClientProxyMembershipID() noexcept override; + static void increaseSynchCounter(); + static std::shared_ptr<Serializable> createDeserializable() { return std::make_shared<ClientProxyMembershipID>(); } - // Do an empty check on the returned value. Only use after handshake is done. + + /** + * Do an empty check on the returned value. Only use after handshake is done. + */ Review Comment: I didn't want to get that deep into refactoring this. I wanted to keep to protocol. I just hate seeing documentation comments using the wrong comment format. We could wack the whole comment. I will leave the refactoring of the name and purpose up to someone else. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@geode.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org