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

li.rudin.rt.api.handler.RTSender Maven / Gradle / Ivy

There is a newer version: 4.1
Show newest version
package li.rudin.rt.api.handler;

public interface RTSender
{
	/**
	 * Sends an object to the client(s)
	 * @param o
	 */
	void send(String type, Object o);
	
	/**
	 * Returns true, if active
	 * @return
	 */
	boolean isActive();
	
	/**
	 * Returns the count of all sent object
	 * @return
	 */
	long getCount();
	
	/**
	 * Returns the id of the client
	 * @return
	 */
	String getId();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy