Lines Matching refs:listeners
68 private ArrayList<HandshakeCompletedListener> listeners;
383 if (listeners != null) {
384 // notify the listeners
387 int size = listeners.size();
389 listeners.get(i).handshakeCompleted(event);
621 if (listeners == null) {
622 listeners = new ArrayList();
624 listeners.add(listener);
636 if (listeners == null) {
640 if (!listeners.remove(listener)) {