default Event

ProXL allows the user to register a default callback that will be executed if there is no registered callback for the event received, or if all the registered callbacks failed. This is mostly a convenience feature for debugging purposes, as only a few of the event fields can be used.

The fields that can be unified in default events are:

  1. type(T) unifies T with the actual event name.
  2. serial(S) unifies S with the serial number of the last request processed by the server.
  3. send_event(B) unifies B, a boolean value, with one of

    true
    If the event was sent by another client.
    false
    If the event was sent by the server.
  4. display(D) unifies D with the ProXL Display the event was read from.