You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zhiming99 c8b99d0ee1
. propids.h, iftasks.cpp, jsondefs.h, proxy.h, rpcif.cpp, fastrpc.i proxy.i,
4 months ago
...
src/org/rpcf/rpcbase . iomgr.cpp, rpcbase.i, JavaRpcContext.java, rpcf.sip, proxy.py, gencpp.cpp, 7 months ago
JavaRpcService.java . genjava.cpp, genjava.h: added builtin-router and rpcfs support. 10 months ago
Makefile.am proxy.py: fixed bugs 9 months ago
README.md Update README.md 2 years ago
fastrpc.i . propids.h, iftasks.cpp, jsondefs.h, proxy.h, rpcif.cpp, fastrpc.i proxy.i, 4 months ago
fuseif.i . fuseif.i: fixed a bug in 32bit build, that fuse requires to use 64bit size_t 8 months ago
proxy.i . propids.h, iftasks.cpp, jsondefs.h, proxy.h, rpcif.cpp, fastrpc.i proxy.i, 4 months ago
rpcbase.i . clsids.h, dbuspdo.cpp, dbusport.cpp, dbusport.h, dllexp.cpp, namespc.h: added 5 months ago
server.i . propids.h, iftasks.cpp, jsondefs.h, proxy.h, rpcif.cpp, fastrpc.i proxy.i, 4 months ago

README.md

Introduction to Java Support for RPC-Frmwrk

The Java support for RPC-Frmwrk is an API wrapper over the C++ RPC-Frmwrk. It exports all the major features from the C++ library to the Java. The wrapper consists of two part, the Java module and the C/C++ interface library.

  • The Java Module is under the directory src/org/rpcf/rpcbase, which interfaces with the C/C++ interface library , and after fully built, contains a proxy class, a server class, and some utility classes as the base support for proxy and server respectively.
  • The source code for C/C++ interface library consists of all the .i files, rpcbase.i, proxy.i, server.i, which will generate the skelton of the C/C++ interface library with SWIG. SWIG is a tool for automatically generating Java bindings for C and C++ libraries, and the installation command is apt install swig.

Building your Java RPC applications

The Java support package will be installed as the support library for the ridlc generated the Java skelton project. The information about ridlc can be found here.

Technical Information

At present, Java wrapper suport 1 type of serializations for data transfer.

  • The ridl serialization, the recommended serialization delivered by ridlc generated Java skelton code. It can communicate with the peer written in different languages. And it is transparent to the application developer.