|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
To decrease network traffic when collecting updates, a client creates one or more property collector filters to specify the parts of a managed object in which the client is interested.
All property collector state information is session-specific:
Properties
| Name | Type | Description |
|---|---|---|
| filter* P | ManagedObjectReference[]
to a PropertyFilter[] |
The filters that this property collector uses to determine the list of
properties to retrieve and observe for changes.
|
Methods
| Methods defined in this Managed Object |
|---|
| CancelWaitForUpdates, CheckForUpdates, CreateFilter, RetrieveProperties, WaitForUpdates |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the PropertyCollector used to make the method call. |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
The return value contains the changes between the previous version and the current values of the properties. The result includes a new version string the client passes in order to receive further updates.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the PropertyCollector used to make the method call. |
| version* | xsd:string |
The data version currently known to the client. The value
must be either the special initial version (an empty string), or a
data version string that was returned from a previous call to
CheckForUpdates or
WaitForUpdates.
|
Return Value
| Type | Description |
|---|---|
| UpdateSet | Changes since the last updated version. If no updates are pending, then this method returns null. |
Faults
| Type | Description |
|---|---|
| InvalidCollectorVersion | Thrown if the version string is out-of-date or invalid. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the PropertyCollector used to make the method call. |
| spec | PropertyFilterSpec |
The specifications for the filter.
|
| partialUpdates | xsd:boolean |
Flag to specify whether a change to a nested property should report
only the nested change or the entire specified property value.
If the value is true, a change should report only the nested property.
If the value is false, a change should report the enclosing property
named in the filter.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a PropertyFilter | A reference to the new filter. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if any of the following is true:
|
| InvalidProperty | Thrown if "spec" has a property that is not defined on one of the objects. |
| InvalidType | Thrown if "spec" contains, directly or indirectly, a type name that does not refer to a known type. |
| ManagedObjectNotFound | Thrown if "spec" refers to objects that are not present on the server |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
This method is equivalent to creating a filter for the given objects and property specification set, then receiving the property values, and finally destroying the filter. If you want to monitor the contents of an object, you should use either CheckForUpdates or WaitForUpdates.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the PropertyCollector used to make the method call. |
| specSet | PropertyFilterSpec[] |
The specifications for the properties to retrieve.
|
Return Value
| Type | Description |
|---|---|
| ObjectContent[] | The data contents of the specified objects. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if any of the following is true:
|
| InvalidProperty | Thrown if "specSet" has a property not defined on one of the objects. |
| InvalidType | Thrown if "specSet" contains, directly or indirectly, a type name that does not refer to a known type. |
| ManagedObjectNotFound | Thrown if "specSet" refers to objects that are not present on the server |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
The return value contains the changes between the previous version and the current values of the properties. The result includes a new version string the client passes in order to receive further updates.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the PropertyCollector used to make the method call. |
| version* | xsd:string |
The data version currently known to the client. The value
must be either the special initial version (an empty string), or a
data version string that was returned from a previous call to
CheckForUpdates or
WaitForUpdates.
|
Return Value
| Type | Description |
|---|---|
| UpdateSet | Changes since the last updated version. |
Faults
| Type | Description |
|---|---|
| InvalidCollectorVersion | Thrown if the version string is out-of-date or invalid. |
| RequestCanceled | Thrown if CancelWaitForUpdates has been called or another WaitForUpdates has been issued. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |