import com.google.gwt.user.client.Window;
import com.vaadin.client.ApplicationConnection;
+import com.vaadin.client.ApplicationConnection.CommunicationErrorHandler;
import com.vaadin.client.communication.AtmospherePushConnection;
public class TestingPushConnection extends AtmospherePushConnection {
private String transport;
@Override
- public void init(ApplicationConnection connection) {
- super.init(connection);
+ public void init(ApplicationConnection connection,
+ CommunicationErrorHandler errorHandler) {
+ super.init(connection, errorHandler);
transport = Window.Location.getParameter("transport");
}