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

Examples of org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule


    private MultiUserChat chat;
    private MultiUserChat chat2;
   
    @Override
    protected void addModules(XMPPServer server) {
        server.addModule(new MUCModule(MUC_SUBDOMAIN, conference));
    }
View Full Code Here


    protected MultiUserChat chat2;

    @Override
    protected void addModules(XMPPServer server) {
        server.addModule(new MUCModule(MUC_SUBDOMAIN, conference));
    }
View Full Code Here

    private MultiUserChat chat2;

    @Override
    protected void addModules(XMPPServer server) {
        server.addModule(new MUCModule(MUC_SUBDOMAIN, conference));
    }
View Full Code Here

                // 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.MUCModule

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.