All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.craft.atom.redis.api.handler.RedisPsubscribeHandler Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.craft.atom.redis.api.handler;


/**
 * Handles redis psubscribe events
 * 
 * @author mindwind
 * @version 1.0, Jun 6, 2013
 */
public interface RedisPsubscribeHandler extends RedisPubSubHandler {
	
	/**
	 * Invoked on psubscribe occur.
	 * 
	 * @param pattern
	 * @param no
	 */
	void onPsubscribe(String pattern, int no);
	
	/**
	 * Invoked on message published to the pattern.
	 * 
	 * @param pattern
	 * @param channel
	 * @param message
	 */
	void onMessage(String pattern, String channel, String message);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy