some MV actions
authorimarom <[email protected]>
Mon, 17 Aug 2015 07:59:36 +0000 (10:59 +0300)
committerimarom <[email protected]>
Mon, 17 Aug 2015 07:59:36 +0000 (10:59 +0300)
src/rpc-server/include/trex_rpc_jsonrpc_v2_parser.h [moved from src/rpc-server/include/trex_rpc_jsonrpc_v2.h with 94% similarity]
src/rpc-server/include/trex_rpc_req_resp_server.h [moved from src/rpc-server/include/trex_rpc_req_resp.h with 100% similarity]
src/rpc-server/src/trex_rpc_jsonrpc_v2_parser.cpp [moved from src/rpc-server/src/trex_rpc_jsonrpc_v2.cpp with 99% similarity]
src/rpc-server/src/trex_rpc_req_resp_server.cpp [moved from src/rpc-server/src/trex_rpc_req_resp.cpp with 97% similarity]
src/rpc-server/src/trex_rpc_server.cpp

@@ -19,8 +19,8 @@ See the License for the specific language governing permissions and
 limitations under the License.
 */
 
-#ifndef __TREX_RPC_JSONRPC_V2_H__
-#define __TREX_RPC_JSONRPC_V2_H__
+#ifndef __TREX_RPC_JSONRPC_V2_PARSER_H__
+#define __TREX_RPC_JSONRPC_V2_PARSER_H__
 
 #include <string>
 #include <vector>
@@ -95,5 +95,5 @@ private:
     std::string m_msg;
 };
 
-#endif /* __TREX_RPC_JSONRPC_V2_H__ */
+#endif /* __TREX_RPC_JSONRPC_V2_PARSER_H__ */
 
@@ -19,7 +19,7 @@ See the License for the specific language governing permissions and
 limitations under the License.
 */
 #include <trex_rpc_exception_api.h>
-#include <trex_rpc_jsonrpc_v2.h>
+#include <trex_rpc_jsonrpc_v2_parser.h>
 #include <trex_rpc_cmd_api.h>
 #include <trex_rpc_cmds_table.h>
 
similarity index 97%
rename from src/rpc-server/src/trex_rpc_req_resp.cpp
rename to src/rpc-server/src/trex_rpc_req_resp_server.cpp
index f5fad46..e40f555 100644 (file)
@@ -20,8 +20,8 @@ limitations under the License.
 */
 
 #include <trex_rpc_server_api.h>
-#include <trex_rpc_req_resp.h>
-#include <trex_rpc_jsonrpc_v2.h>
+#include <trex_rpc_req_resp_server.h>
+#include <trex_rpc_jsonrpc_v2_parser.h>
 
 #include <unistd.h>
 #include <sstream>
index bdbab5c..34e60c9 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 */
 
 #include <trex_rpc_server_api.h>
-#include <trex_rpc_req_resp.h>
+#include <trex_rpc_req_resp_server.h>
 #include <unistd.h>
 #include <zmq.h>
 #include <sstream>