private void on_connection_lost_callback_t(IntPtr opaque, ref ADLConnectionLostEvent e) { try { if (_listener != null) _listener.onConnectionLost( ConnectionLostEvent.FromNative(e)); } catch (Exception ) { } }