protected override string TryAuth(string methodName, RequestContractBase req) { if (null == this.AppContext) this._context = this.CreateContext(); return (true == this.AppContext.IsLogged()) ? this.AppContext.MemberId : string.Empty; }
protected virtual void ProcessRequestAsync(RequestContractBase o) { }
public void BeginProcessRequest(RequestContractBase o) { this.AsyncEvent = new AutoResetEvent(false); this.ProcessRequestAsync(o); }
/// <summary> /// 요청에 대한 실제 처리 로직 구현부 /// </summary> /// <param name="o">deserialize된 요청 개체</param> /// <returns></returns> public abstract ResponseContractBase ProcessRequest(RequestContractBase o);