Package org.apache.vysper.xmpp.modules.extension.xep0045_muc.model

Examples of org.apache.vysper.xmpp.modules.extension.xep0045_muc.model.Conference


    private MUCPresenceHandler presenceHandler;

    @Override
    protected void setUp() throws Exception {
        Conference conference = new Conference("foo");
        presenceHandler = new MUCPresenceHandler(conference);
    }
View Full Code Here


    @Override
    protected void setUp() throws Exception {
        super.setUp();

        Conference conference = new Conference("Foo");
        Room room = conference.createRoom(ROOM_JID, "room1");
        room.addOccupant(USER1_JID, "Nick 1");
        room.addOccupant(USER2_JID, "Nick 2");
        module = new MUCModule(SUBDOMAIN, conference);
        module.initialize(serverRuntimeContext);
View Full Code Here

    @Override
    protected void setUp() throws Exception {
        super.setUp();

        Conference conference = new Conference("Foo");
        module = new MUCModule(SUBDOMAIN, conference);
        module.initialize(serverRuntimeContext);
    }
View Full Code Here

    @Override
    protected void setUp() throws Exception {
        super.setUp();

        Conference conference = new Conference("Foo");
        conference.createRoom(ROOM_JID, "Room1", RoomType.Hidden, RoomType.PasswordProtected);
        module = new MUCModule(SUBDOMAIN, conference);
        module.initialize(serverRuntimeContext);
    }
View Full Code Here

                xmppServer.setSASLMechanisms(Arrays.asList(new SASLMechanism[]{new Anonymous()}));

                xmppServer.start();

                // add the multi-user chat module and create a few test rooms
                Conference conference = new Conference("test conference");
                conference.createRoom(EntityImpl.parseUnchecked("camel-anon@apache.camel"), "camel-anon", RoomType.FullyAnonymous);
                conference.createRoom(EntityImpl.parseUnchecked("camel-test@apache.camel"), "camel-test", RoomType.Public);
                xmppServer.addModule(new MUCModule("conference", conference));
            }
        } catch (Exception e) {
            throw new RuntimeException("An error occurred when initializing the XMPP Test Server.", e);
        }
View Full Code Here

TOP

Related Classes of org.apache.vysper.xmpp.modules.extension.xep0045_muc.model.Conference

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.