public void addListener ( IWebSocketDataListener listener , String path ) { log . trace ( "addListener: {}" , listener ) ; WebSocketScope scope = getScope ( path ) ; if ( scope != null ) { scope . addListener ( listener ) ; } else { log . info ( "Scope not found for path: {}" , path ) ; } }
Add the listener on scope via its path .