private void Clear(bool full) { lock (_receivedClientInfos) { _receivedClientInfos.Clear(); } _netTcpConnectedEvent.Reset(); _basicHttpConnectedEvent.Reset(); _netTcpDisconnectedEvent.Reset(); _basicHttpDisconnectedEvent.Reset(); _clientInfoChangedEvent.Reset(); NetTcpCallbackReceived.Reset(); NetTcpThrowCallbackReceived.Reset(); if (full) { _basicHttpService = null; _netTcpService = null; } }
public void Initialize(HelloWorldWcfServiceClient proxy) { this.proxy = proxy; }
private void NetTcpCallback(ConnectionState state, HelloWorldWcfServiceClient service) { _netTcpState = state; _netTcpService = service; }