super("client_identification", POSITION_INVISIBLE, 200, table_id); setRefreshInterval(INTERVAL_LIVE);
PEPeer peer = (PEPeer)cell.getDataSource(); if (peer == null) {cell.setText(""); return;} String peer_id_name = peer.getClientNameFromPeerID(); String peer_handshake_name = peer.getClientNameFromExtensionHandshake(); if (peer_id_name == null) {peer_id_name = "";} if (peer_handshake_name == null) {peer_handshake_name = "";} if (peer_id_name.equals("") && peer_handshake_name.equals("")) { cell.setText(""); return; } String result = peer_id_name; if (!peer_handshake_name.equals("")) {result += " / " + peer_handshake_name;} cell.setText(result);