Пример #1
0
 public void proceed(Client client, String... channels) {
   this.client = client;
   client.subscribe(channels);
   client.flush();
   process(client);
 }
Пример #2
0
 public void proceedWithPatterns(Client client, String... patterns) {
   this.client = client;
   client.psubscribe(patterns);
   client.flush();
   process(client);
 }