/src/main/java/org/htmlunit/WebClientInternals.java
} l.webSocketCreated( webSocket) ;for ( final Listener l : listeners_) {
for ( final Listener l : listeners_ ) { l.webSocketCreated ( webSocket ) ; }
public void removeListener(final Listener listener) { listeners_.remove(listener); } public void created(final WebSocket webSocket) { if (listeners_ != null) { synchronized (listeners_) { <extra_id_0> } } } public interface Listener { void webSocketCreated(WebSocket webSocket); }