HomeSort by relevance Sort by last modified time
    Searched refs:Ping (Results 1 - 25 of 32) sorted by null

1 2

  /external/smack/src/org/jivesoftware/smackx/ping/packet/
Ping.java 17 package org.jivesoftware.smackx.ping.packet;
20 import org.jivesoftware.smackx.ping.PingManager;
22 public class Ping extends IQ {
24 public Ping() {
27 public Ping(String from, String to) {
Pong.java 17 package org.jivesoftware.smackx.ping.packet;
24 * Composes a Pong packet from a received ping packet. This basically swaps
27 * @param ping
29 public Pong(Ping ping) {
31 setFrom(ping.getTo());
32 setTo(ping.getFrom());
33 setPacketID(ping.getPacketID());
  /external/chromium_org/ppapi/native_client/tests/ppapi_browser/crash/
ppapi_crash_off_main_thread.cc 34 // This will allow us to ping the nexe to detect a crash that occured
36 void Ping() {
37 LOG_TO_BROWSER("ping received");
44 RegisterTest("Ping", Ping);
  /external/chromium_org/third_party/libjingle/source/talk/base/
win32_unittest.cc 57 WinPing ping; local
58 ASSERT_TRUE(ping.IsValid());
60 // Test valid ping cases.
61 WinPing::PingResult result = ping.Ping(IPAddress(INADDR_LOOPBACK), 20, 50, 1,
65 WinPing::PingResult v6result = ping.Ping(IPAddress(in6addr_loopback), 20,
71 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping(
73 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping
    [all...]
winping.h 93 // Attempts to send a ping with the given parameters.
96 PingResult Ping(
winping.cc 147 // A ping error message is 8 bytes long, so make sure we allow for at least
227 WinPing::PingResult WinPing::Ping(
win32socketserver.cc 536 WinPing ping; local
537 if (!ping.IsValid()) {
544 WinPing::PingResult result = ping.Ping(addr.ipaddr(), size,
  /external/smack/src/org/jivesoftware/smackx/ping/provider/
PingProvider.java 17 package org.jivesoftware.smackx.ping.provider;
21 import org.jivesoftware.smackx.ping.packet.Ping;
27 // No need to use the ping constructor with arguments. IQ will already
29 return new Ping();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Ping.java 22 * A locally-originated ping.
24 public final class Ping {
29 Ping() {
50 * Returns the round trip time for this ping in nanoseconds, waiting for the
60 * Returns the round trip time for this ping in nanoseconds, or -1 if the
SpdyConnection.java 101 private Map<Integer, Ping> pings;
233 * Sends a ping frame to the peer. Use the returned object to await the
234 * ping's response and observe its round trip time.
236 public Ping ping() throws IOException { method in class:SpdyConnection
237 Ping ping = new Ping(); local
245 if (pings == null) pings = new HashMap<Integer, Ping>();
246 pings.put(pingId, ping);
537 @Override public void ping(int flags, int streamId) { method in class:SpdyConnection.Reader
542 Ping ping = removePing(streamId); local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/ping/
PingManager.java 17 package org.jivesoftware.smackx.ping;
43 import org.jivesoftware.smackx.ping.packet.Ping;
44 import org.jivesoftware.smackx.ping.packet.Pong;
47 * Implements the XMPP Ping as defined by XEP-0199. This protocol offers an
48 * alternative to the traditional 'white space ping' approach of determining the
49 * availability of an entity. The XMPP Ping protocol allows ping messages to be
55 * Ping</a>
59 public static final String NAMESPACE = "urn:xmpp:ping";
199 public IQ ping(String jid, long pingTimeout) { method in class:PingManager
224 public IQ ping(String jid) { method in class:PingManager
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
winping.h 73 // Attempts to send a ping with the given parameters.
75 PingResult Ping(
winping.cc 132 // A ping error message is 8 bytes long, so make sure we allow for at least
186 WinPing::PingResult WinPing::Ping(
win32socketserver.cc 511 WinPing ping; local
512 if (!ping.IsValid()) {
519 WinPing::PingResult result = ping.Ping(addr.ip(), size, 0, 1, false);
  /external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/
rpclistener.py 41 def Ping(self):
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
turnport_unittest.cc 163 // Send ping from UDP to TURN.
167 conn1->Ping(0);
173 // Send ping from TURN to UDP.
178 conn2->Ping(0);
185 // Send another ping from UDP to TURN.
186 conn1->Ping(0);
208 conn1->Ping(0);
210 conn2->Ping(0);
port_unittest.cc 255 void Ping() {
256 Ping(0);
258 void Ping(uint32 now) {
259 conn_->Ping(now);
281 // MI and PRIORITY attribute should be present in ping requests when port
611 // Send a ping from src to dst. This may or may not make it.
615 ch1.Ping();
619 // We are able to send a ping from src to dst. This is the case when
624 // Ensure the ping came from the same address used for src.
629 // Send a ping from dst to src
    [all...]
port.h 78 // This is the length of time that we wait for a ping response to come back.
412 STATE_READ_INIT = 0, // we have yet to receive a ping
421 STATE_WRITABLE = 0, // we have received ping responses recently
422 STATE_WRITE_UNRELIABLE = 1, // we have had a few ping failures
423 STATE_WRITE_INIT = 2, // we have yet to receive a ping response
424 STATE_WRITE_TIMEOUT = 3, // we have had a large number of ping failures
488 void Ping(uint32 now);
490 // Called whenever a valid ping is received on this connection. This is
491 // public because the connection intercepts the first ping for us.
503 // transmission. This connection will send STUN ping with USE-CANDIDAT
    [all...]
  /external/chromium_org/sandbox/win/src/
sandbox_policy_base.h 31 // We act as a policy dispatcher, implementing the handler for the "ping" IPC,
102 bool Ping(IPCInfo* ipc, void* cookie);
sandbox_policy_base.cc 433 static_cast<Callback1>(&PolicyBase::Ping));
611 bool PolicyBase::Ping(IPCInfo* ipc, void* arg1) {
  /external/chromium/net/spdy/
spdy_session.h 106 // Send the SYN frame for |stream_id|. This also sends PING message to check
158 // Enable sending of PING frame with each request.
221 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, Ping);
299 // Send the PING (preface-PING and trailing-PING) frames.
302 // Send PING if there are no PINGs in flight and we haven't heard from server.
305 // Send a PING after delay. Don't post a PING if there is already
306 // a trailing PING pending
    [all...]
spdy_session_unittest.cc 24 // Wanted to be 100% sure PING is disabled.
168 TEST_F(SpdySessionTest, Ping) {
239 // Enable sending of PING.
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
port.h 296 STATE_WRITABLE = 0, // we have received ping responses recently
297 STATE_WRITE_CONNECT = 1, // we have had a few ping failures
298 STATE_WRITE_TIMEOUT = 2 // we have had a large number of ping failures
349 void Ping(uint32 now);
351 // Called whenever a valid ping is received on this connection. This is
352 // public because the connection intercepts the first ping for us.
394 uint32 last_ping_sent_; // last time we sent a ping to the other side
395 uint32 last_ping_received_; // last time we received a ping from the other
p2ptransportchannel.cc 437 // ping from the other side. This will cause the state to become readable.
757 // Handle queued up ping request
763 // Find the oldest pingable connection and have it do a ping.
766 conn->Ping(talk_base::Time());
768 // Post ourselves a message to perform the next ping.
781 // If we are writable, then we only want to ping connections that could be
795 // Returns the next pingable connection to ping. This will be the oldest
797 // maximum acceptable ping delay.
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
SpdyConnectionTest.java 109 peer.acceptFrame(); // PING
111 peer.sendFrame().ping(0, 1);
118 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received.
124 MockSpdyPeer.InFrame ping = peer.takeFrame(); local
125 assertEquals(TYPE_PING, ping.type);
193 MockSpdyPeer.InFrame ping = peer.takeFrame(); local
194 assertEquals(TYPE_NOOP, ping.type);
195 assertEquals(0, ping.flags);
200 peer.sendFrame().ping(0, 2);
201 peer.acceptFrame(); // PING
208 MockSpdyPeer.InFrame ping = peer.takeFrame(); local
224 Ping ping = connection.ping(); local
    [all...]

Completed in 1117 milliseconds

1 2