org.atmosphere.gwt.client.UserInterface Maven / Gradle / Ivy
package org.atmosphere.gwt.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.List;
/**
*
* @author Pierre Havelaar
*/
public interface UserInterface {
// push message back to the server on this connection
public void post(Object message);
// push message back to the server on this connection
public void post(Object message, AsyncCallback callback);
// push message back to the server on this connection
public void post(List> messages);
// push message back to the server on this connection
public void post(List> messages, AsyncCallback callback);
// push message back to the server on this connection
public void broadcast(Object message);
// push message back to the server on this connection
public void broadcast(List> messages);
public void start();
public void stop();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy