Discussion:
[omniORB] omniORB 4.1.2: Patch to add missing virtual destructors
Peter Klotz
2008-06-24 22:10:27 UTC
Permalink
The attached patch fixes two gcc 4.1 compiler warnings about missing
virtual destructors.

Best regards, Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omniORB-4.1.2-VirtualDestructors.patch
Type: text/x-diff
Size: 562 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080624/ce15bbdc/omniORB-4.1.2-VirtualDestructors.bin
Stefan Walter
2008-06-24 22:51:08 UTC
Permalink
I would like to get the information at runtime, how many clients are
connected to my Server via CORBA.

Is there any method to get the number of clients connected and maybe
additional their IP Adress and other details?

Regards Stefan
Duncan Grisby
2008-06-25 16:53:37 UTC
Permalink
Post by Peter Klotz
The attached patch fixes two gcc 4.1 compiler warnings about missing
virtual destructors.
Thanks. However, those objects are only ever created on the stack, so
they don't need virtual destructors. gcc is being over-enthusiastic in
its warning.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Duncan Grisby
2008-06-27 20:48:52 UTC
Permalink
Post by Stefan Walter
I would like to get the information at runtime, how many clients are
connected to my Server via CORBA.
Is there any method to get the number of clients connected and maybe
additional their IP Adress and other details?
Clients can disconnect at any time, and reconnect later on demand. You
can't use the currently connected set of clients to understand anything
about the set of clients that are currently in a position to interact
with the server.

With that caveat, you can get hold of some information about clients
using a serverReceiveRequest interceptor. You have to dig into the
internal omniORB structures to get hold of things like client IP
addresses. Take a look at the data structures available in the
interceptors and you should be able to figure it out.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...