// private void BatchComplete() { Mage.EventManager.Emit("io.response", null); lock ((object)this) { sendingBatch = null; // Check if next queued batch should be sent as well if (currentBatch.BatchItems.Count > 0) { SendBatch(); } } }
// public CommandCenter(CommandTransportType transportType = CommandTransportType.HTTP) { currentBatch = new CommandBatch(nextQueryId++); SetTransport(transportType); }