Re: PortableServer_POA_activate_object_with_id



Hey,

On Wed, 19 Jun 2002, Marion Schuenemann wrote:

> Hi all,
>
> i tried to use the PortableServer_POA_activate_object_with_id()
> method to set the objectkey to "Test123".
> ior-decode-2 analyses the objectkey as:
>
>     IOP_TAG_COMPLETE_OBJECT_KEY: object_key (19) '010000009e093c788b4e4cd054657374313233'
>
> or better ior-decode says:
>
>     Object key: "......<x.NL.Test123"
>
> The objectkey is always 12 bytes longer than expected.

	The ObjectKey is different from the ObjectId. The ObjectId is
used to find and Object within a POA and an ObjectKey contains the
information to find a POA within an ORB as well as the ObjectId.

	Thins of it like the ObjectId is a relative filename and the
ObjectKey is the full path for the Object.

Good Luck,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]