Click or drag to resize
IListener Events

The IListener type exposes the following members.

Events
  NameDescription
Public eventConnectionStateChanged
Raised when the listener connects or disconnects. Note that exceptions raised during parsing of messages will cause the object to automatically disconnect.
Public eventExceptionCaught
Raised when an exception is caught on the background thread. The background thread should not pass ThreadAbortException through this.
(Inherited from IBackgroundThreadExceptionCatcher.)
Public eventModeSBytesReceived
Raised when bytes representing a Mode-S message have been received. This may not be on the same thread that started the listener - however all messages are guaranteed to be transmitted in the order in which they were received.
Public eventModeSMessageReceived
Raised when a message has been received from the source of raw data. This may not be on the same thread that started the listener - however all messages are guaranteed to be transmitted in the order in which they were received.
Public eventPort30003MessageReceived
Raised when a message has been received from a source of Port30003 data. This may not be on the same thread that started the listener - however all messages are guaranteed to be transmitted in the order in which they were received.
Public eventPositionReset
Raised when a decoder that the listener is using to translate messages indicates that the previous position reported for an aircraft was wrong and that its position has been reset.
Public eventRawBytesReceived
Raised when bytes have been received from the data source. This may not be on the same thread that started the listener - however all messages are guaranteed to be transmitted in the order in which they were received.
Public eventSourceChanged
Raised when the listener is asked to change source of data. If the change in source causes a disconnect and reconnect then this event is raised after the disconnect but before the reconnect.
Top
See Also