public virtual void onConnectionLost(ConnectionLostEvent e) { if (ConnectionLost != null) ConnectionLost(this, e); }