• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

ToiResourceResourcesAddedEvent

Class Summary

Extends:
  • ToiEvent

Tells the observer that a set of available resources is added. Considering that generally resources of type ToiResourceService.RESOURCE_TYPE_DYNAMIC_POOL and ToiResourceService.RESOURCE_TYPE_ENUMERABLE are added to the list of resources maintained by resource manager during the box bootup, before any observer is registered to get the event notifications from resource manager, OnResourcesAdded event notification may not be received for the resources of type ToiResourceService.RESOURCE_TYPE_DYNAMIC_POOL and ToiResourceService.RESOURCE_TYPE_ENUMERABLE. Resources of type ToiResourceService.RESOURCE_TYPE_DYNAMIC_ALLOCATION are instantiated and added to resource manager much later so observers will get notification of this event only for the resources ToiResourceService.RESOURCE_TYPE_DYNAMIC_ALLOCATION.

Parameters

Name Type Description
resources Array.<ToiResourceService.ToiResourceInfo>

Sequence of resource information.

  • Members

Members

evtTarget (Type: ToiEventTarget)

The event target that generated the event.

evtTimeStamp (Type: number)

The time (in seconds since the Epoch) at which the event was generated.

evtType (Type: number)

The type of the event.

resources (Type: Array.<ToiResourceService.ToiResourceInfo>)

Sequence of resource information.

5.1.p5

Copyright (c) 2017 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.