Examples of processInfoRequest()


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

            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()));
            }
        } catch (ServiceDiscoveryRequestException e) {
            // the request yields an error
            StanzaErrorCondition stanzaErrorCondition = e.getErrorCondition();
            if (stanzaErrorCondition == null) stanzaErrorCondition = StanzaErrorCondition.INTERNAL_SERVER_ERROR;
View Full Code Here

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

                        .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()));
            }
        } catch (ServiceDiscoveryRequestException e) {
            // the request yields an error
            StanzaErrorCondition stanzaErrorCondition = e.getErrorCondition();
View Full Code Here

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

                        .getID()));
            } else if (isComponentInfoRequest) {
                elements = serviceCollector.processComponentInfoRequest(new InfoRequest(from, to, node,
                        stanza.getID()));
            } else {
                elements = serviceCollector.processInfoRequest(new InfoRequest(from, to, node, stanza
                        .getID()));
            }
        } catch (ServiceDiscoveryRequestException e) {
            // the request yields an error
            StanzaErrorCondition stanzaErrorCondition = e.getErrorCondition();
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.