Click or drag to resize

HostedBACnetDevice Methods

The HostedBACnetDevice type exposes the following members.

Methods
 NameDescription
Public methodAddObject(BACnetObject) Adds the specified host object to the corresponding host objects collection. This function also validates the object parameters passed. Success will be returned if the object is added successfully, otherwise an exception is thrown that tells what kind of error found. If response is not received from the BACnet stack for add request before the timeout occurs, then a remove request will be sent to the BACnet stack to remove the object from the stack and also the object will be deleted from the local collection. In this function Object Name is trimmed.
(Overrides BACnetDeviceAddObject(BACnetObject))
Public methodAddObject(BACnetObject, Int32) Adds the specified host object to the corresponding host objects collection, with user settable timeout option. This function also validates the object parameters passed. Success will be returned if the object is added successfully, otherwise an exception is thrown that tells what kind of error found.
(Overrides BACnetDeviceAddObject(BACnetObject, Int32))
Public methodDispose Clean up of resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNumberOfObjects Method to get the number of objects added to this BACnet device.
(Inherited from BACnetDevice)
Public methodGetNumberOfObjects(eBACnetObjectType) Method to get the number of objects added to this BACnet device of the specified object type.
(Inherited from BACnetDevice)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRemoveAllObjects Removes all the host objects from all the host objects collections. Success will be returned if all the objects are removed successfully, otherwise failure is returned and the corresponding error is logged.
(Overrides BACnetDeviceRemoveAllObjects)
Public methodRemoveAllObjects(eBACnetObjectType) Removes all the host objects of the specified type from the corresponding host objects collections. Success will be returned if all the objects of the specified type are removed successfully, otherwise failure is returned and the corresponding error is logged.
(Overrides BACnetDeviceRemoveAllObjects(eBACnetObjectType))
Public methodRemoveAllObjects(Int32) Removes all the host objects from all the host objects collections, with user settable timeout option. Success will be returned if all the object are removed successfully, otherwise failure is returned and the corresponding error is logged.
(Overrides BACnetDeviceRemoveAllObjects(Int32))
Public methodRemoveAllObjects(eBACnetObjectType, Int32) Removes all the host objects of the specified type from the corresponding host objects collections. Success will be returned if all the objects of the specified type are removed successfully, otherwise failure is returned and the corresponding error is logged.
(Overrides BACnetDeviceRemoveAllObjects(eBACnetObjectType, Int32))
Public methodRemoveObject(BACnetObject) Removes the specified host object from the corresponding host objects collection. Success will be returned if the object is removed successfully, otherwise an exception is thrown that tells what kind of error found.
(Overrides BACnetDeviceRemoveObject(BACnetObject))
Public methodRemoveObject(BACnetObject, Int32) Removes the specified host object from the corresponding host objects collection, with user settable timeout option. This function also validates the object parameters passed. Success will be returned if the object is removed successfully, otherwise an exception is thrown that tells what kind of error found.
(Overrides BACnetDeviceRemoveObject(BACnetObject, Int32))
Public methodToString String representation of the HostedBACnetDevice.
(Overrides ObjectToString)
Top
See Also