void function ( TListener arg0 , ListeningWhitelist arg1 ) { PrioritizedListener < TListener > loc0 = new PrioritizedListener < TListener > ( arg0 , arg1 . getPriority ( ) ) ; for ( PacketType loc1 : arg1 . getTypes ( ) ) { addListener ( loc1 , loc0 ) ; } }
adds a listener to its requested list of packet receivers . concode_field_sep ConcurrentMap<PacketType,SortedCopyOnWriteArray<PrioritizedListener<TListener>>> mapListeners concode_field_sep Iterable<PrioritizedListener<TListener>> values concode_elem_sep List<PacketType> removeListener concode_elem_sep Collection<PrioritizedListener<TListener>> getListener concode_elem_sep Set<PacketType> keySet concode_elem_sep void clearListeners