Package iqq.im.actor

Examples of iqq.im.actor.HttpActor


   * @param action a {@link iqq.im.action.HttpAction} object.
   * @return a {@link iqq.im.event.QQActionFuture} object.
   */
  protected QQActionFuture pushHttpAction(HttpAction action){
    QQActionFuture future = new HttpActionFuture(action);     //替换掉原始的QQActionListener
    getContext().pushActor(new HttpActor(HttpActor.Type.BUILD_REQUEST, getContext(), action));
    return future;
  }
View Full Code Here


        // 等待几秒再重试
        Thread.sleep(1500);
      } catch (InterruptedException e) {
        LOG.error("Sleep error...", e);
      }
      getContext().pushActor(new HttpActor(HttpActor.Type.BUILD_REQUEST, getContext(), this));
      return true;
    }

    return false;
  }
View Full Code Here

TOP

Related Classes of iqq.im.actor.HttpActor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.