private void StreamProxy_didFinish(TCPStreamProxy streamProxy) { streamProxy.didFinish -= StreamProxy_didFinish; streamProxies.Remove(streamProxy); }
private void addStreamProxy(TCPStreamProxy streamProxy) { streamProxies.Add(streamProxy); streamProxy.didFinish += StreamProxy_didFinish; streamProxy.start(); }