Searched refs:DataMessageListener (Results 1 – 3 of 3) sorted by relevance
141 <T> void subscribeTo(Class<T> messageType, DataMessageListener<T> listener); in subscribeTo()161 <T> void unsubscribeFrom(Class<T> messageType, DataMessageListener<T> listener); in unsubscribeFrom()179 <T> void unsubscribeFrom(DataMessageListener<T> listener); in unsubscribeFrom()194 interface DataMessageListener<T> { interface
35 private final Map<Class<?>, List<DataMessageListener<Object>>> mDataMessageListenerMap =90 public <T> void subscribeTo(Class<T> messageType, DataMessageListener<T> listener) { in subscribeTo()93 mDataMessageListenerMap.get(messageType).add((DataMessageListener<Object>) listener); in subscribeTo()107 public <T> void unsubscribeFrom(Class<T> messageType, DataMessageListener<T> listener) { in unsubscribeFrom()125 public <T> void unsubscribeFrom(DataMessageListener<T> listener) { in unsubscribeFrom()169 for (DataMessageListener<Object> listener : mDataMessageListenerMap.get( in onMessage()
56 MessageRouter.DataMessageListener<String> mStringListener;58 MessageRouter.DataMessageListener<Foobar> mFoobarListener;