Package iqq.im.module

Examples of iqq.im.module.ChatModule


    this.modules.put(QQModule.Type.PROC, new ProcModule());
    this.modules.put(QQModule.Type.USER, new UserModule());
    this.modules.put(QQModule.Type.BUDDY, new BuddyModule());
    this.modules.put(QQModule.Type.CATEGORY, new CategoryModule());
    this.modules.put(QQModule.Type.GROUP, new GroupModule());
    this.modules.put(QQModule.Type.CHAT, new ChatModule());
    this.modules.put(QQModule.Type.DISCUZ, new DiscuzModule());
    this.modules.put(QQModule.Type.EMAIL, new EmailModule());

    this.services.put(QQService.Type.HTTP, new ApacheHttpService());
View Full Code Here


   *
   * 发送QQ消息
   */
  @Override
  public QQActionFuture sendMsg(QQMsg msg, QQActionListener qqActionListener) {
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.sendMsg(msg, qqActionListener);
  }
View Full Code Here

   *
   * 发送一个震动
   */
  @Override
  public QQActionFuture sendShake(QQUser user, QQActionListener qqActionListener) {
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.sendShake(user, qqActionListener);
  }
View Full Code Here

   * 获取离线图片
   */
  @Override
  public QQActionFuture getOffPic(OffPicItem offpic, QQMsg msg, OutputStream picout,
          QQActionListener listener) {
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.getOffPic(offpic, msg, picout, listener);
  }
View Full Code Here

   * 获取聊天图片
   */
  @Override
  public QQActionFuture getUserPic(CFaceItem cface, QQMsg msg,
          OutputStream picout, QQActionListener listener){
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.getUserPic(cface, msg, picout, listener);
  }
View Full Code Here

   * 获取群聊天图片
   */
  @Override
  public QQActionFuture getGroupPic(CFaceItem cface, QQMsg msg,
      OutputStream picout, QQActionListener listener){
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.getGroupPic(cface, msg, picout, listener);
  }
View Full Code Here

   *
   * 上传离线图片
   */
  @Override
  public QQActionFuture uploadOffPic(QQUser user, File file, QQActionListener listener){
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.uploadOffPic(user, file, listener);
  }
View Full Code Here

   *
   * 上传好友图片
   */
  @Override
  public QQActionFuture uploadCustomPic(File file, QQActionListener listener){
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.uploadCFace(file, listener);
  }
View Full Code Here

   *
   * 发送正在输入通知
   */
  @Override
  public QQActionFuture sendInputNotify(QQUser user, QQActionListener listener){
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.sendInputNotify(user, listener);
  }
View Full Code Here

   *
   * 临时消息信道,用于发送群 U 2 U会话消息
   */
  @Override
  public QQActionFuture getSessionMsgSig(QQStranger user, QQActionListener qqActionListener) {
    ChatModule mod = getModule(QQModule.Type.CHAT);
    return mod.getSessionMsgSig(user, qqActionListener);
  }
View Full Code Here

TOP

Related Classes of iqq.im.module.ChatModule

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.