Re: Using the Object in the server
- From: Sam Couter <sam topic com au>
- To: orbit-list gnome org
- Subject: Re: Using the Object in the server
- Date: Wed, 25 Jul 2001 08:59:37 +1000
Sadi Yigit <sadi@bwh.harvard.edu> wrote:
> Thank you for you answer Michael,
>
> but I don't want to use a CORBA-function, though I want to change the data of
> the object on the server side (the server does the changes), so I would need
> something like:
> Calculator->status = "rrr" (but this is not working).
> Do you (or someone else) know how I can do this?
This is totally dependant on what data structures you've defined on your
servant object, which is beyond the scope of CORBA or ORBit.
If you've used orbit-idl --skeleton-impl, look in the skelimpl file for
something like:
typedef struct {
POA_MyModule_MyInterfaceType servant;
PortableServer_POA poa;
} impl_POA_MyModule_MyInterfaceType;
In that servant struct, you need to stick all the data structures you need
to implement your object, including whatever data structures you want to
map your attributes to. Modify those data structures from within the server
if you like.
--
Sam Couter | Internet Engineer | http://www.topic.com.au/
sam@topic.com.au | tSA Consulting |
OpenPGP key ID: DE89C75C, available on key servers
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]