Examples of ping()


Examples of org.apache.vysper.xmpp.modules.extension.xep0119_xmppping.XmppPingModule.ping()

    }

    private class PingTask extends TimerTask {
        public void run() {
            XmppPingModule pingModule = serverRuntimeContext.getModule(XmppPingModule.class);
            pingModule.ping(DefaultXMPPServerConnector.this, serverRuntimeContext.getServerEnitity(), otherServer, pingTimeout, DefaultXMPPServerConnector.this);
        }
    }
}
View Full Code Here

Examples of org.apache.ws.axis.oasis.ping.PingPort.ping()

        java.lang.reflect.Method method = service.getClass().getMethod("getPing" + interopNum, new Class[] {URL.class});

        PingPort port = (PingPort) method.invoke (service, new Object[] {new URL("http://localhost:8080/axis/services/Ping" + interopNum)});
        StringHolder text =
                new StringHolder("WSS4J - Scenario" + interopNum + " @ [" + new java.util.Date(System.currentTimeMillis()) + "]");
        port.ping(new org.apache.ws.axis.oasis.ping.TicketType("WSS4J" + interopNum), text);
        System.out.println(text.value);
    }
}
View Full Code Here

Examples of org.eclipse.jetty.http2.api.Session.ping()

                latch.countDown();
            }
        });

        PingFrame frame = new PingFrame(payload, false);
        session.ping(frame, Callback.Adapter.INSTANCE);

        Assert.assertTrue(latch.await(5, TimeUnit.SECONDS));
    }
}
View Full Code Here

Examples of org.eclipse.jetty.spdy.api.Session.ping()

            {
                pingLatch.countDown();
            }
        });

        client.ping(new PingInfo(5, TimeUnit.SECONDS));

        Assert.assertTrue(pingLatch.await(5, TimeUnit.SECONDS));

        client.goAway(new GoAwayInfo(5, TimeUnit.SECONDS));
    }
View Full Code Here

Examples of org.gudy.azureus2.platform.PlatformManager.ping()

    }
   
    final NetworkAdminNode[] nodes = { null };
   
    try{
      pm.ping(
        interface_address,
        target,
        new PlatformManagerPingCallback()
        {
          private long  start_time = SystemTime.getCurrentTime();
View Full Code Here

Examples of org.hornetq.jms.tests.tools.container.Server.ping()

         try
         {
            while (true)
            {
               server.ping();
               ServerManagement.log.debug("server " + i + " still alive ...");
               Thread.sleep(100);
            }
         }
         catch (Throwable e)
View Full Code Here

Examples of org.hyperic.sigar.NfsFileSystem.ping()

        try {
            FileSystemUsage usage;
            if (fs instanceof NfsFileSystem) {
                NfsFileSystem nfs = (NfsFileSystem)fs;
                if (!nfs.ping()) {
                    println(nfs.getUnreachableMessage());
                    return;
                }
            }
            usage = this.sigar.getFileSystemUsage(fs.getDirName());
View Full Code Here

Examples of org.jacorb.test.BasicServer.ping()

        system.set_servant_manager(new PoaServantActivator());
       
        org.omg.CORBA.Object objectRef = system.create_reference(BasicServerHelper.id());
        BasicServer ref = BasicServerHelper.narrow(objectRef);
        // Local op; will incarnate the object.
        ref.ping();
       
        // Now try deactivating it.
        system.deactivate_object (system.reference_to_id(ref));
    }
   
View Full Code Here

Examples of org.jacorb.test.Sample.ping()

    @Test
    public void test_ping()
    {
        Sample sample = server.getObject();
        int result = sample.ping (17);
        assertEquals (18, result);
    }

    @Test
    public void test_primary_ok()
View Full Code Here

Examples of org.jacorb.test.listenendpoints.echo_corbaloc.EchoMessage.ping()

            assertTrue("test_ping: corbaloc objID is malformed", corbalocObjId.equals("/EchoServer/EchoPOAP/EchoID") );

            server =
                    EchoMessageHelper.narrow (setup.getServerObject());

            server.ping();

        }
        catch (Exception e)
        {
            fail("test_ping: got an unexpected exception: <" + e.getMessage() + ">");
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.