Package org.apache.vysper.mina

Examples of org.apache.vysper.mina.MinaBackedSessionContext


        /**
         * {@inheritDoc}
         */
        @Override
        public void sessionOpened(IoSession session) throws Exception {
            sessionContext = new MinaBackedSessionContext(serverRuntimeContext, sessionStateHolder, session);
            sessionStateHolder.setState(SessionState.INITIATED);
            Stanza opener = new ServerResponses().getStreamOpenerForServerConnector(serverRuntimeContext.getServerEnitity(), otherServer, XMPPVersion.VERSION_1_0, sessionContext);
           
            sessionContext.write(opener);
        }
View Full Code Here

TOP

Related Classes of org.apache.vysper.mina.MinaBackedSessionContext

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.