Advanced scoping
If the writer of an OSA needs a more robust form of scoping,
the Server API
provides a function where if the new set of object instances does not
belong to the current class (but does belong to a class contained within the
current OSA) then the request processor can ask the
Server API for a new
class description handle and use that to process any requests it
needs to perform on the contained class.
The upon receiving a BMIP request,
the request processor can process and empty
the filter and scope parameters,
and replace the object instance parameter into
the appropriate list of objects to have work
performed on. If the filter parameter
is used at all to determine which
objects belong to a BMIP request's scope,
the OSA may wish to simplify the
actual filter parameter passed to the
OFEvaluateFilter(3tlib)
routine.
Next topic:
Containment and scoping
Previous topic:
Synchronization
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005