示例#1
0
        public IQQActionFuture PushHttpAction(IHttpAction action)
        {
            var future = new HttpActionFuture(action);          //替换掉原始的QQActionListener

            Context.PushActor(new HttpActor(HttpActorType.BuildRequest, Context, action));
            return(future);
        }
示例#2
0
        public QQActionFuture PushHttpAction(IHttpAction action)
        {
            QQActionFuture future = new HttpActionFuture(action);               //替换掉原始的QQActionListener

            this.Context.PushActor(new HttpActor(HttpActorType.BUILD_REQUEST, this.Context, action));
            return(future);
        }