Searched refs:newActivePing (Results 1 – 1 of 1) sorted by relevance
144 ActivePing newActivePing = new ActivePing(); in handleMessage() local146 newActivePing.internalId = msg.arg1; in handleMessage()147 newActivePing.timeout = msg.arg2; in handleMessage()148 newActivePing.socket = new DatagramSocket(); in handleMessage()150 newActivePing.socket.setSoTimeout(SOCKET_TIMEOUT_MS); in handleMessage()154 newActivePing.socket.setNetworkInterface(NetworkInterface.getByName( in handleMessage()160 newActivePing.packetId = (short) sRandom.nextInt(); in handleMessage()162 buf[0] = (byte) (newActivePing.packetId >> 8); in handleMessage()163 buf[1] = (byte) newActivePing.packetId; in handleMessage()169 log("Sending a ping " + newActivePing.internalId + in handleMessage()[all …]