li.rudin.rt.api.handler.RTSender Maven / Gradle / Ivy
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