Making C++ classes final
[iot2.git] / iotjava / iotrmi / C++ / IoTRMICall.hpp
index 2ac2509f39c54b84c938632a20a401f9d6127f10..ee04ef193da72d81a57369344153ac84bce7b3be 100644 (file)
@@ -23,7 +23,7 @@ using namespace std;
 
 mutex mtx;
 
-class IoTRMICall {
+class IoTRMICall final {
        public:
                IoTRMICall(int _port, const char* _address, int _rev, bool* _bResult);
                ~IoTRMICall();
@@ -37,7 +37,6 @@ class IoTRMICall {
                void**  getReturnObjects(char* retBytes, string retCls[], int numRet, void* retObj[]);
 
        private:
-               map<string,int>         mapSign2MethodId;
                IoTRMIUtil                      *rmiUtil;
                IoTSocketClient         *rmiClient;
 
@@ -145,7 +144,6 @@ int IoTRMICall::methodLength(string paramCls[], void* paramObj[], int numParam)
                // Calculate methodLen
                methodLen = methodLen + paramLen;
        }
-
        return methodLen;
 }