receive method

void receive(
  1. BacnetEvent event
)

Delivers event to the listeners as if the network produced it, e.g. a WhoAmIEvent of a new device.

Implementation

void receive(BacnetEvent event) {
  if (!_events.isClosed) _events.add(event);
}