GetConnectionObserver(Ice.ConnectionInfo c, Ice.Endpoint e, Ice.Instrumentation.ConnectionState s, Ice.Instrumentation.IConnectionObserver? old) { lock (this) { TestHelper.Assert(old == null || old is ConnectionObserver); if (connectionObserver == null) { connectionObserver = new ConnectionObserver(); connectionObserver.reset(); } return(connectionObserver); } }
GetConnectionObserver(ConnectionInfo c, Endpoint e, ConnectionState s, IConnectionObserver?old) { lock (this) { TestHelper.Assert(old == null || old is ConnectionObserver); if (connectionObserver == null) { connectionObserver = new ConnectionObserver(); connectionObserver.reset(); } return(connectionObserver); } }