public IQQActionFuture PushHttpAction(IHttpAction action) { var future = new HttpActionFuture(action); //替换掉原始的QQActionListener Context.PushActor(new HttpActor(HttpActorType.BuildRequest, Context, action)); return(future); }
public QQActionFuture PushHttpAction(IHttpAction action) { QQActionFuture future = new HttpActionFuture(action); //替换掉原始的QQActionListener this.Context.PushActor(new HttpActor(HttpActorType.BUILD_REQUEST, this.Context, action)); return(future); }