Package org.apache.vysper.xmpp.modules.servicediscovery.collection

Examples of org.apache.vysper.xmpp.modules.servicediscovery.collection.ServiceCollector.processServerInfoRequest()


        // collect all the info response elements
        List<InfoElement> elements = null;
        try {
            if (isServerInfoRequest) {
                elements = serviceCollector.processServerInfoRequest(new InfoRequest(stanza.getFrom(), to, node, stanza.getID()));
            } else if (isComponentInfoRequest) {
                elements = serviceCollector.processComponentInfoRequest(new InfoRequest(stanza.getFrom(), to, node, stanza.getID()));
            } else {
                elements = serviceCollector.processInfoRequest(new InfoRequest(stanza.getFrom(), to, node, stanza.getID()));
            }
View Full Code Here


        // collect all the info response elements
        List<InfoElement> elements = null;
        try {
            if (isServerInfoRequest) {
                elements = serviceCollector.processServerInfoRequest(new InfoRequest(stanza.getFrom(), to, node, stanza
                        .getID()));
            } else if (isComponentInfoRequest) {
                elements = serviceCollector.processComponentInfoRequest(new InfoRequest(stanza.getFrom(), to, node,
                        stanza.getID()));
            } else {
View Full Code Here

        List<InfoElement> elements = null;
        try {
            Entity from = stanza.getFrom();
            if (from == null) from = sessionContext.getInitiatingEntity();
            if (isServerInfoRequest) {
                elements = serviceCollector.processServerInfoRequest(new InfoRequest(from, to, node, stanza
                        .getID()));
            } else if (isComponentInfoRequest) {
                elements = serviceCollector.processComponentInfoRequest(new InfoRequest(from, to, node,
                        stanza.getID()));
            } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.