public void testInOut() { var parameters = STOClient.STORunner.parameters(37859, 1); var request = new STORequest(O.list(new Symbol("RE.TEST.TY.1C", 1000)), new List <Portfolio>(), parameters); AreEqual(request, new STORequest(request.java())); }
internal void enqueueRun(int runNumber) { var runParameters = parameters(runNumber); var request = new STORequest(symbols, portfolios, runParameters); if (numInstances > 0 && !existingRuns.Contains(runNumber)) { runner.request(request.java()); } else { runner.responseQueue().send(request.response("LOCAL", now(), now(), processId())); } lock (runsQueuedLock) runsQueued++; if (runsQueued % 100 == 0) { info("queued message for run " + (start + runsQueued - 1)); } }