ClusterServerObj<T>: ClusterServer<T> & {
    id: ClusterId;
    isAttributeSupported: ((attributeId: AttributeId) => boolean);
    isAttributeSupportedByName: ((attributeName: string) => boolean);
    isCommandSupported: ((commandId: CommandId) => boolean);
    isCommandSupportedByName: ((commandName: string) => boolean);
    isEventSupported: ((eventId: EventId) => boolean);
    isEventSupportedByName: ((eventName: string) => boolean);
    name: string;
} & ServerAttributeGetters<T["attributes"]> & ServerAttributeSetters<T["attributes"]> & ServerAttributeSubscribers<T["attributes"]> & ServerEventTriggers<T["events"]>

Type Parameters

Type declaration

  • Readonlyid: ClusterId

    Cluster ID

  • isAttributeSupported: ((attributeId: AttributeId) => boolean)

    Returns if a given Attribute Id is defined and supported by this cluster server.

      • (attributeId): boolean
      • Parameters

        Returns boolean

  • isAttributeSupportedByName: ((attributeName: string) => boolean)

    Returns if a given Attribute for provided name is defined and supported by this cluster server.

      • (attributeName): boolean
      • Parameters

        • attributeName: string

        Returns boolean

  • isCommandSupported: ((commandId: CommandId) => boolean)

    Returns if a given Command is defined and supported by this cluster server.

      • (commandId): boolean
      • Parameters

        Returns boolean

  • isCommandSupportedByName: ((commandName: string) => boolean)

    Returns if a given Command for provided name is defined and supported by this cluster server.

      • (commandName): boolean
      • Parameters

        • commandName: string

        Returns boolean

  • isEventSupported: ((eventId: EventId) => boolean)

    Returns if a given Event is defined and supported by this cluster server.

      • (eventId): boolean
      • Parameters

        Returns boolean

  • isEventSupportedByName: ((eventName: string) => boolean)

    Returns if a given Event for provided name is defined and supported by this cluster server.

      • (eventName): boolean
      • Parameters

        • eventName: string

        Returns boolean

  • Readonlyname: string

    Cluster name