Hi,
I've got a class which subclasses Glacier2::Session. This class acts like a bridge: it interacts with the client on one side and with some other Ice-Applications on the other side.
The wanted behaviour is: if the session is unable to call a method either on the server-side or the client-side (after a few tries) the session should be destroyed.
How to properly destroy the session within the code of the SessionImpl? Another Ice-Application is able to destroy by calling the destroy-method on the SessionProxy but inside the SessionImpl I am only able to call my local implemented destroy-function which does not result in destroying the Session at all.
The only possiblity I can imagine is to wait for inactivity-timeout but there has to be a better way![]()

Reply With Quote
