Archived
This forum has been archived. Please start a new discussion on GitHub.
how to write a plugin for ice use C++?
damingyipai
in Help Center
hello:
The IceSSL is too big, It's not a better sample, can you give me a simple demo?
The IceSSL is too big, It's not a better sample, can you give me a simple demo?
0
Comments
-
damingyipai wrote:I have some services in IceBox. now I need to modify each service: add a record to log file, when the interface function called. but I can't rebuild all service to add this future. how can I to do this?
I'm sorry, but its not clear what you want to accomplish. Perhaps you could give more detail about what you want to do, including some use-cases to better illustrate your example.
Regards, Matthew0 -
IceBox.Service.A = ...
IceBox.Service.B = ...
IceBox.Service.C = ...
Now, I need to write a plugin for ICE, that can hold rach invoking to IceBox.Service.A and write a line to log file.
I like to see the ICE support plugin, that can hold the specific service function in IceBox, The plugin maybe do nothing, maybe reject the calling, maybe modify the return value....
If Ice can do this, it must give me great flexable. More time, we can not modify a service, because that is thired party module, but I can change that service to me by plugin like this. Is it pretty cool?0
