public void proceed(Client client, String... channels) { this.client = client; client.subscribe(channels); client.flush(); process(client); }
public void proceedWithPatterns(Client client, String... patterns) { this.client = client; client.psubscribe(patterns); client.flush(); process(client); }