Package org.apache.vysper.xmpp.writer

Examples of org.apache.vysper.xmpp.writer.StanzaWriter


        // TODO think about disallow changing the xmlLang a second time after from default to client value
        xmlLang = languageCode;
    }

    public void endSession(SessionTerminationCause terminationCause) {
    StanzaWriter stanzaWriter = getResponseWriter();
    stanzaWriter.close();

        if (terminationCause == null) {
            throw new RuntimeException("no termination cause given");
        }
View Full Code Here


        this.serverRuntimeContext = serverRuntimeContext;
        this.sessionContext = sessionContext;
    }

    protected void sendResponse(T response) throws DeliveryException {
        StanzaWriter stanzaWriter = sessionContext.getResponseWriter();
        stanzaWriter.write(response);
    }
View Full Code Here

        this.serverRuntimeContext = serverRuntimeContext;
        this.sessionContext = sessionContext;
    }

    protected void sendResponse(T response) throws DeliveryException {
        StanzaWriter stanzaWriter = sessionContext.getResponseWriter();
        stanzaWriter.write(response);
    }
View Full Code Here

        // TODO think about disallow changing the xmlLang a second time after from default to client value
        xmlLang = languageCode;
    }

    public void endSession(SessionTerminationCause terminationCause) {
        StanzaWriter stanzaWriter = getResponseWriter();
        stanzaWriter.close();

        if (terminationCause == null) {
            throw new RuntimeException("no termination cause given");
        }
View Full Code Here

        // TODO think about disallow changing the xmlLang a second time after from default to client value
        xmlLang = languageCode;
    }

    public void endSession(SessionTerminationCause terminationCause) {
        StanzaWriter stanzaWriter = getResponseWriter();
        stanzaWriter.close();

        if (terminationCause == null) {
            throw new RuntimeException("no termination cause given");
        }
View Full Code Here

TOP

Related Classes of org.apache.vysper.xmpp.writer.StanzaWriter

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.