public void SetStatusCodeLine(int requestId, int code, string status) { ModMonoWorker worker = GetWorker(requestId) as ModMonoWorker; if (worker == null) { return; } worker.SetStatusCodeLine(code, status); }
public override void SendStatus(int statusCode, string statusDescription) { UpdateModMonoConfig(); string line = String.Format("{0} {1}", statusCode, statusDescription); if (requestId == -1) { worker.SetStatusCodeLine(statusCode, line); } else { requestBroker.SetStatusCodeLine(requestId, statusCode, line); } }