Changeset 18058 for trunk/FACT++/dim/src/examples/rpc_server.cxx
- Timestamp:
- 01/03/15 18:26:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/examples/rpc_server.cxx
r15282 r18058 3 3 #include <iostream> 4 4 using namespace std; 5 #include <stdio.h> 5 6 6 7 class RpcInt : public DimRpc … … 20 21 } 21 22 public: 22 RpcInt(c har *name): DimRpc(name,"I","I") {val = 0;};23 RpcInt(const char *name): DimRpc(name,"I","I") {val = 0;}; 23 24 }; 24 25 … … 56 57 } 57 58 public: 58 RpcStruct(c har *name): DimRpc(name,"C:16;I:5;C:18;F:4;I:1;F:16",59 RpcStruct(const char *name): DimRpc(name,"C:16;I:5;C:18;F:4;I:1;F:16", 59 60 "C:16;I:5;C:18;F:4;I:1;F:16") {val = 0;}; 60 61 }; … … 75 76 } 76 77 public: 77 JeffRpcStruct(c har *name): DimRpc(name,"C:1;C:1;C:1;C",78 JeffRpcStruct(const char *name): DimRpc(name,"C:1;C:1;C:1;C", 78 79 "I:1;C:1;C") {counter = 0;}; 79 80 };
Note:
See TracChangeset
for help on using the changeset viewer.