Beispiel #1
0
 public void publish(final String channel, final String message) {
   publish(SafeEncoder.encode(channel), SafeEncoder.encode(message));
 }
Beispiel #2
0
 public Integer publish(String channel, String message) {
   client.publish(channel, message);
   return client.getIntegerReply();
 }