This operation returns the servant associated with the given object or it returns the default servant depending on the policies specified (RETAIN or USE_DEFAULT_SERVANT). With the RETAIN policy the object has to be registered with the active object map of this POA.
Servant
id_to_servant(
byte[]
oid
Servant associated with the object.
Exception Type | Condition |
---|---|
POAPackage.WrongPolicy |
An error occurs if the RETAIN or the USE_DEFAULT_SERVANT policy is not specified. |
POAPackage.ObjectNotActive |
An error occurs if the object for the given object id is not active or no default servant was registered. |
POA Interface | POA Members | Ics Namespace