Hosanna UI API v1.30.2-next
    Preparing search index...

    VirtualRoMessagePort is a web-based implementation of the ISGIMessagePort interface. It provides functionality for managing a message queue and simulating the behavior of a message port.

    Hierarchy (View Summary)

    Implements

    • ISGIMessagePort
    Index

    Constructors

    Properties

    messageQueue: any[]

    Queue for storing event messages.

    type: string

    The type of the component.

    Methods

    • Retrieves and removes the first message from the message queue.

      Returns any

      The first message in the queue, or null if the queue is empty.

    • Retrieves the first message from the message queue without removing it.

      Returns any

      The first message in the queue, or null if the queue is empty.

    • Pushes a message into the message queue.

      Parameters

      • object: any

        The message object to push into the queue.

      Returns void

    • Renders the component. This method can be overridden by subclasses to provide specific rendering logic.

      Returns void

    • Waits for a message with a specified timeout. This method is not supported in the web target.

      Parameters

      • timeout: number

        The timeout in milliseconds.

      Returns any

      Error indicating that the method is not supported.