Click or drag to resize
IListenerConnect Method
Connects to the source of aircraft data. Incoming messages from the source will raise events on the listener.

Namespace: VirtualRadar.Interface.Listener
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void Connect()
Remarks
The method begins the connection procedure on a background thread and returns almost immediately. It may not have connected by the time the connection returns. It may raise an exception if ChangeSource(IConnector, IMessageBytesExtractor, IRawMessageTranslator) has not been called but otherwise any exceptions raised during the connection procedure are passed through ExceptionCaught.
See Also