Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » RPC_METHOD how to "define"
RPC_METHOD how to "define" [message #47578] Tue, 31 January 2017 16:56 Go to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hello everybody,

I'm currently experimenting with RPC_METHOD and MtRpcClient/MtRpcServer.

I want to do a class and write some RPC_METHOD's my own, but as class Members.

How do i extract that weird define?
#define RPC_METHOD(name) void name(RpcData& rpc); INITBLOCK { Register(#name, name); } void name(RpcData& rpc)


So in particular, how can I use the example method getClientList as a member function?
And whats INITBLOCK and #name?

Thanks in advance.
Greets
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Requirement Printing in a batch -> new Feature for PrinterJob
Next Topic: C2280
Goto Forum:
  


Current Time: Sat Apr 20 11:46:58 CEST 2024

Total time taken to generate the page: 0.03478 seconds