@Override public <T> void subscribeAndRequest(Class<T> clazz, Subscriber<T> subscriber, String[] params) { // String channel = subscriber.toString(); subscribe(clazz, subscriber); request(clazz, params); }
public <T> void request(Class<T> clazz, String[] params) { request(clazz, null, params); }
public <T> void request(Class<T> clazz, String param) { request(clazz, null, new String[] {param}); }
public <T> void registerAndRequest(Class<T> clazz, Subscriber<T> subscriber, String param) { // String channel = subscriber.toString(); subscribe(clazz, subscriber); request(clazz, param); }