Creates a new instance of VirtualRoMessagePort
.
Private
messageQueue for storing event messages.
The type of the component.
Retrieves and removes the first message from the message queue.
The first message in the queue, or null
if the queue is empty.
Retrieves the first message from the message queue without removing it.
The first message in the queue, or null
if the queue is empty.
Pushes a message into the message queue.
The message object to push into the queue.
Renders the component. This method can be overridden by subclasses to provide specific rendering logic.
VirtualRoMessagePort
is a web-based implementation of theISGIMessagePort
interface. It provides functionality for managing a message queue and simulating the behavior of a message port.