/// <summary> /// Removes the data receiver, to from being notified on data receive. /// </summary> /// <param name='cb'> /// The callback to call on data receive, that was registered with this.AddDataReciever(). /// </param> public void RemoveDataReceiver(UDPSocketDataCallback cb) { this.listeners.Remove(cb); }
/// <summary> /// Removes the data receiver, to from being notified on data receive. /// </summary> /// <param name='cb'> /// The callback to call on data receive, that was registered with this.AddDataReciever(). /// </param> public void RemoveDataReceiver(UDPSocketDataCallback cb) { this.listeners.Remove(cb); }
/// <summary> /// Adds the data receiver, to be notified on data receive. /// Notified at this.notifyReceive(). /// </summary> /// <param name='cb'> /// The callback to call on data receive. /// </param> public void AddDataReceiver(UDPSocketDataCallback cb) { this.listeners.Add(cb); }
/// <summary> /// Adds the data receiver, to be notified on data receive. /// Notified at this.notifyReceive(). /// </summary> /// <param name='cb'> /// The callback to call on data receive. /// </param> public void AddDataReceiver(UDPSocketDataCallback cb) { this.listeners.Add(cb); }