Examples of PingManager


Examples of org.jivesoftware.smackx.ping.PingManager

    /**
     * Execute some server interaction in order to test that the regenerated connection works fine.
     */
    private void executeSomeServerInteraction(XMPPConnection connection) throws XMPPException {
        PingManager pingManager = PingManager.getInstanceFor(connection);
        pingManager.pingMyServer();
    }
View Full Code Here

Examples of org.rhq.core.pc.ping.PingManager

            resourceFactoryManager = new ResourceFactoryManager(configuration, agentServiceStreamRemoter, pluginManager);
            supportManager = new SupportManager(agentServiceStreamRemoter);
            bundleManager = new BundleManager(configuration, agentServiceStreamRemoter, inventoryManager,
                measurementManager);
            driftManager = new DriftManager(configuration, agentServiceStreamRemoter, inventoryManager);
            pingManager = new PingManager(agentServiceStreamRemoter);

            for (AgentServiceLifecycleListener ll : agentServiceListeners) {
                for (AgentService service : services()) {
                    ll.started(service);
                }
View Full Code Here

Examples of rocks.xmpp.extensions.ping.PingManager

                            });
                            MenuItem pingMenuItem = new MenuItem("Ping");
                            pingMenuItem.setOnAction(new EventHandler<ActionEvent>() {
                                @Override
                                public void handle(ActionEvent actionEvent) {
                                    PingManager pingManager = xmppSession.getExtensionManager(PingManager.class);
                                    try {
                                        pingManager.pingServer();
                                    } catch (XmppException e) {
                                        e.printStackTrace();
                                    }
                                }
                            });
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.