protected virtual void OnClientConnection(ConnectionEventArgs e) { var handler = OnConnect; if (handler != null) handler(this, e); }