| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, Im migrating my Orbix 3.3 application to Orbix 6.3. I see this article in the IONA Knowledge base regarding migrating callbacks. (http:// http://www.iona.com/support/kb/kbcli...archID=2794410). This talks about a 6.3 client knowing when the 3.x server is down using _non_existent() function call. Im migrating an application, which is a server for another 3.x client. In this case i want to know when the 3.x client connection has gone down so that i can do some cleanup. Can i use the lease plugin here? Is implementing an Evictor pattern the recommended option in this case? Please suggest.. |
|
#2
| |||
| |||
| On Aug 20, 4:23*am, Ajju <ksa...@gmail.com> wrote: > Hi, > > Im migrating my Orbix 3.3 application to Orbix 6.3. I see this article > in the IONA Knowledge base regarding migrating callbacks. (http://www.iona.com/support/kb/kbcli...nalID=4371.160...). > This talks about a 6.3 client knowing when the 3.x server is down > using _non_existent() function call. Im migrating an application, > which is a server for another 3.x client. In this case i want to know > when the 3.x client connection has gone down so that i can do some > cleanup. Can i use the lease plugin here? Is implementing an Evictor > pattern the recommended option in this case? Please suggest.. Yes, rather than using IOCallbacks which have the nasty side affect of exposing low level FDs (and allowing users to manipulate these) you should use the lease plugin for this. Really this is just a way of setting up session management, which is what you wanted to do in the first place: http://www.iona.com/support/docs/orb.../cpp/index.htm - M |
|
#3
| |||
| |||
| Hi Martin, If i use the lease plugin.. as per the documentation, looks like the client side also requires the lease plugin framework.. is there any available for orbix 3.0. The document says that "When the client starts up, it automatically loads the leasing plug-in". I guess this would work if both the client and server are 6.3. Please suggest. Thanks and Best Regards, Ajay. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.