Hi,
I've got a plugin implementing IClientPlugin and IServerPlugin. I want to trigger the execution of a method towards the Server when the client gets unloaded. (meaning: when the Servoy client is closed)
I thought it would be simply adding the method to the unload() function in the class implementing IClientPlugin, but it doesn't seem to work.
Where am I going wrong, or am I trying to do something that's not possible?
tnx,
Paul
further description:
In the unload() method in the client class, I call a function in the client provider class (implementing IScriptObject), which in turn links to the server class (implementing IServerPlugin).
PS: Before, I tried to do sort of the same thing on application start, by adding the calling of functions from the IScriptObject implementation (which in turn initiated the connection to the Server) in the initialize() method in the IClientPlugin implementing class, but also that didn't work. I was able to work around that, but would like to know if it should be possible....