C/C++ module hot plug-in and pull-off method of base version in large scale concurrent on-line trade
An online transaction, large-scale technology, applied in the direction of program control devices, etc., can solve problems such as high cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The following is an example to illustrate the implementation steps. The component echo simply returns the incoming string, and the client program calls the function of the component echo through the static proxy library.
[0036] 1. Write component echo
[0037] #ifndef ECHO_H
#define ECHO_H
#include
using namespace std;
extern "C" {
string echo(const string & str);
}
[0038] echo.h file
[0039] #include "echo.h"
extern "C" {
string echo(const string & str){
return "echo:"+str;
}
}
[0040] echo.c file
[0041] 2. Compile echo.c and connect to generate libecho-1.0.so echo.h file echo.c file
[0042] 3. Write the component registry
[0043] 4. Write a static proxy (can be generated using tools)
[0044]First use typedef to define the type of the service interface function, and then define the proxy implementation of the interface function, which is statically bound with the client pr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com