private static void deactivate(Test.IRemoteCommunicatorPrx communicator, List <Test.IRemoteObjectAdapterPrx> adapters) { IEnumerator <Test.IRemoteObjectAdapterPrx> p = adapters.GetEnumerator(); while (p.MoveNext()) { communicator.deactivateObjectAdapter(p.Current); } }
public TestCase(string name, Test.IRemoteCommunicatorPrx com, global::Test.TestHelper helper) { _name = name; _com = com; _output = helper.GetWriter(); _logger = new LoggerI(_name, _output); _helper = helper; _clientACMTimeout = -1; _clientACMClose = -1; _clientACMHeartbeat = -1; _serverACMTimeout = -1; _serverACMClose = -1; _serverACMHeartbeat = -1; Heartbeat = 0; Closed = false; }
// Disable heartbeat on invocations public InvocationNoHeartbeatTest(Test.IRemoteCommunicatorPrx com, global::Test.TestHelper helper) : base("invocation with no heartbeat", com, helper) => SetServerACM(2, 2, 0);
public InvocationHeartbeatTest(Test.IRemoteCommunicatorPrx com, global::Test.TestHelper helper) : base("invocation heartbeat", com, helper) => SetServerACM(1, -1, -1); // Faster ACM to make sure we receive enough ACM heartbeats