Пример #1
0
 @Override
 public <T> void subscribeAndRequest(Class<T> clazz, Subscriber<T> subscriber, String[] params) {
   // String channel = subscriber.toString();
   subscribe(clazz, subscriber);
   request(clazz, params);
 }
Пример #2
0
 public <T> void request(Class<T> clazz, String[] params) {
   request(clazz, null, params);
 }
Пример #3
0
 public <T> void request(Class<T> clazz, String param) {
   request(clazz, null, new String[] {param});
 }
Пример #4
0
 public <T> void registerAndRequest(Class<T> clazz, Subscriber<T> subscriber, String param) {
   // String channel = subscriber.toString();
   subscribe(clazz, subscriber);
   request(clazz, param);
 }