protected virtual void OnDatagramOversizeError() { EventHandler<SessionEventArgs> handler = this.DatagramOversizeError; if (handler != null) { SessionEventArgs e = new SessionEventArgs(this); handler(this, e); } }
protected virtual void OnDatagramAccepted() { EventHandler<SessionEventArgs> handler = this.DatagramAccepted; if (handler != null) { SessionEventArgs e = new SessionEventArgs(this); handler(this, e); } }