void function ( ) { Ping loc0 = new Ping ( ) ; loc0 . id = lastPingID ++ ; lastPingSendTime = System . currentTimeMillis ( ) ; sendTCP ( loc0 ) ; }
requests the connection to communicate with the remote computer to determine a new value for the #getreturntriptime return trip time . when the connection receives a frameworkmessage.ping object with ping #isreply isreply set to true , the newreturn trip time is available . concode_field_sep TcpConnection tcp concode_elem_sep UdpConnection udp concode_elem_sep int lastPingID concode_elem_sep boolean isConnected concode_elem_sep int id concode_elem_sep EndPoint endPoint concode_elem_sep Object listenerLock concode_elem_sep long lastPingSendTime concode_elem_sep String name concode_elem_sep Listener[] listeners concode_elem_sep InetSocketAddress udpRemoteAddress concode_elem_sep int returnTripTime concode_elem_sep StreamProvider streamProvider concode_field_sep void setName concode_elem_sep int getTcpWriteBufferSize concode_elem_sep void setBufferPositionFix concode_elem_sep boolean isConnected concode_elem_sep void notifyDisconnected concode_elem_sep int getReturnTripTime concode_elem_sep void setIdleThreshold concode_elem_sep int sendUDP concode_elem_sep void close concode_elem_sep void addListener concode_elem_sep InetSocketAddress getRemoteAddressUDP concode_elem_sep void notifyReceived concode_elem_sep int getID concode_elem_sep void removeListener concode_elem_sep void notifyConnected concode_elem_sep void setTimeout concode_elem_sep void setKeepAliveTCP concode_elem_sep EndPoint getEndPoint concode_elem_sep void notifyIdle concode_elem_sep boolean isIdle concode_elem_sep String toString concode_elem_sep void initialize concode_elem_sep int sendTCP concode_elem_sep void setConnected concode_elem_sep InetSocketAddress getRemoteAddressTCP