Package com.anzsoft.client.XMPP.mandioca.rooms

Examples of com.anzsoft.client.XMPP.mandioca.rooms.XmppRoom


  {
    String roomId = id.toString();
    RoomChatWindow window = get(roomId);
    if(window == null)
    {
      XmppRoom room = new XmppRoom(JabberApp.instance().getSession(),id.getNode(),id.getDomain(),nickName);
      //XmppRoom room = JabberApp.instance().getSession().joinRoom(id.getDomain(), id.getNode(), nickName);
      window = new RoomChatWindow(roomId,room);
     
      registerRoomWindow(window);
    }
View Full Code Here


    activeChats.add(chat);
    return chat;
  }

  public XmppRoom joinRoom(final String host, final String roomName, final String nick) {
    XmppRoom room = new XmppRoom(this, roomName, host, nick);
    activeChats.add(room);
    room.join(user);
    return room;
  }
View Full Code Here

TOP

Related Classes of com.anzsoft.client.XMPP.mandioca.rooms.XmppRoom

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.