Examples of GroupChat


Examples of jabber.conversation.GroupChat

   * @param name
   * @param nick
   * @return
   */
  public static GroupChat createChat(Vector jids, String name, String nick) {
    GroupChat chat = new GroupChat(jids, name, "groupchat", "", nick);
    Datas.multichat.put(name, chat);
    return chat;
   
  }
View Full Code Here

Examples of jabber.conversation.GroupChat

   * @param jid
   */
  public static void addMember(String name, String jid) {
    if (jid.indexOf('@') == -1)
      jid += "@"+Datas.hostname;
    GroupChat chat = (GroupChat)Datas.multichat.remove(Jid.getLittleJid(name));
    chat.jids.addElement(jid); //PATCH 2008
    Datas.multichat.put(chat.name, chat);
  }
View Full Code Here

Examples of jabber.conversation.GroupChat

   * @param name
   * @param jid
   */
  public static void deleteMember(String name, String jid) {

    GroupChat chat = (GroupChat)Datas.multichat.remove(Jid.getLittleJid(name));
    //?
    chat.jids.removeElement(jid);
    Datas.multichat.put(chat.name, chat);
  }
View Full Code Here

Examples of simpleserver.message.GroupChat

        } catch (NumberFormatException e) {
          player.addTMessage(Color.RED, "Invalid group ID");
        }
      }

      player.setChat(new GroupChat(player, group));
    } else if (mode.equals("area")) {

      AreaChat room = new AreaChat(player);
      if (room.noArea()) {
        player.addTMessage(Color.RED, "You are in no area at the moment");
View Full Code Here

Examples of simpleserver.message.GroupChat

        sender.addTMessage(Color.RED, "Invalid group ID");
        return null;
      }
    }

    return new GroupChat(sender, group);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.