Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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);
 }