public virtual void onConnectionLost(ConnectionLostEvent e) { if (ConnectionLost != null) { ConnectionLost(this, e); } }
internal static ConnectionLostEvent FromNative( ADLConnectionLostEvent connLostEvnt) { ConnectionLostEvent result = new ConnectionLostEvent(); result._scopeId = connLostEvnt.scopeId.body; result._errCode = connLostEvnt.errCode; result._errMessage = connLostEvnt.errMessage.body; result._willReconnect = connLostEvnt.willReconnect; return(result); }
private void on_connection_lost_callback_t(IntPtr opaque, ref ADLConnectionLostEvent e) { try { if (_listener != null) { _listener.onConnectionLost( ConnectionLostEvent.FromNative(e)); } } catch (Exception) { } }
public virtual void onConnectionLost(ConnectionLostEvent e) { }
internal static ConnectionLostEvent FromNative( ADLConnectionLostEvent connLostEvnt) { ConnectionLostEvent result = new ConnectionLostEvent(); result._scopeId = connLostEvnt.scopeId.body; result._errCode = connLostEvnt.errCode; result._errMessage = connLostEvnt.errMessage.body; result._willReconnect = connLostEvnt.willReconnect; return result; }
public virtual void onConnectionLost(ConnectionLostEvent e) { if (ConnectionLost != null) ConnectionLost(this, e); }