| View previous topic :: View next topic |
| Author |
Message |
Ajju Guest
|
Posted: Wed Aug 20, 2008 3:23 am Post subject: IOCallbacks not supported in Orbix 6.3. Question regarding L |
|
|
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/kbclick.jspa?categoryID=3&externalID=4371.160&searchID=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.. |
|
| |
|
Back to top |
Martin Murphy Guest
|
Posted: Tue Sep 02, 2008 5:43 pm Post subject: Re: IOCallbacks not supported in Orbix 6.3. Question regardi |
|
|
On Aug 20, 4:23 am, Ajju <ksa...@gmail.com> wrote:
| Quote: | 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/kbclick.jspa?categoryID=3&externalID=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/orbix/6.3/develop/sessman/cpp/index.htm
- M |
|
| |
|
Back to top |
Ajju Guest
|
Posted: Thu Sep 04, 2008 8:06 am Post subject: Re: IOCallbacks not supported in Orbix 6.3. Question regardi |
|
|
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. |
|
| |
|
Back to top |
|