예제 #1
0
 protected void OnClientStopped(object sender, NetStreamStoppedEventArgs e)
 {
     if (this.OnClientDisconnected != null)
     {
         this.OnClientDisconnected(this, new NetClientDisconnectedEventArgs(e.Guid, e.Reason));
     }
     this.clients.Remove(e.Guid);
     this.streams.Remove(e.Guid);
 }
예제 #2
0
 protected void stream_OnStopped(object sender, NetStreamStoppedEventArgs e)
 {
     this.Disconnect(e.Reason);
 }