add event listener and wait for broadcast message . concode_field_sep Logger logger concode_elem_sep String URLHEADER concode_elem_sep String JSONARRAY_FLAG concode_elem_sep Map<String,List<DataListener>> listeners concode_elem_sep Map<Integer,DataCallBack> cbs concode_elem_sep SocketIO socket concode_elem_sep int reqId concode_field_sep JSONObject filter concode_elem_sep void processMessageBatch concode_elem_sep void initSocket concode_elem_sep void init concode_elem_sep void request concode_elem_sep void disconnect concode_elem_sep void inform concode_elem_sep void processMessage concode_elem_sep void sendMessage concode_elem_sep void emit
void function ( String arg0 , DataListener arg1 ) { List < DataListener > loc0 = listeners . get ( arg0 ) ; if ( loc0 == null ) loc0 = new ArrayList < DataListener > ( ) ; loc0 . add ( arg1 ) ; listeners . put ( arg0 , loc0 ) ; }