Package jabber.conversation

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


   * @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

   * @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

TOP

Related Classes of jabber.conversation.GroupChat

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.