Searched refs:connectionListener (Results 1 – 4 of 4) sorted by relevance
548 public void addConnectionListener(ConnectionListener connectionListener) { in addConnectionListener() argument552 if (connectionListener == null) { in addConnectionListener()555 if (!connectionListeners.contains(connectionListener)) { in addConnectionListener()556 connectionListeners.add(connectionListener); in addConnectionListener()565 public void removeConnectionListener(ConnectionListener connectionListener) { in removeConnectionListener() argument566 connectionListeners.remove(connectionListener); in removeConnectionListener()
128 final ConnectionListener connectionListener = new AbstractConnectionListener() { in Roster() local148 Roster.this.connection.addConnectionListener(connectionListener); in Roster()154 connection.addConnectionListener(connectionListener); in Roster()
546 * @param connectionListener a connection listener.548 public void addConnectionListener(ConnectionListener connectionListener) {552 if (connectionListener == null) {555 if (!connectionListeners.contains(connectionListener)) {556 connectionListeners.add(connectionListener);563 * @param connectionListener a connection listener.565 public void removeConnectionListener(ConnectionListener connectionListener) {566 connectionListeners.remove(connectionListener);
2554 for (PacketListener connectionListener : connectionListeners) { in cleanup()2555 connection.removePacketListener(connectionListener); in cleanup()