import java.io.Serializable;
import com.vaadin.Application;
-import com.vaadin.terminal.ReceiverOwner.ReceivingController;
/**
* Special kind of {@link VariableOwner} that can send and receive information
}
- public interface ReceivingController {
+ public interface ReceivingController extends Serializable {
/**
* Whether the {@link #onProgress(long, long)} method should be called
* during the upload.
}
/**
- * Gets the {@link Html5FileUploadListener} that is used to track the progress of
- * streaming the file contents to given {@link Receiver}.
+ * Gets the {@link Html5FileUploadListener} that is used to track the
+ * progress of streaming the file contents to given {@link Receiver}.
*
* @return
*/
}
/**
- * Sets the {@link Html5FileUploadListener} that can be used to track the progress of
- * streaming the file contents to given {@link Receiver}.
+ * Sets the {@link Html5FileUploadListener} that can be used to track the
+ * progress of streaming the file contents to given {@link Receiver}.
*
* @param listener
* @see #setReceiver(Receiver)
this.interrupted = interrupted;
}
- public interface Html5FileUploadListener {
+ public interface Html5FileUploadListener extends Serializable {
void onProgress(ReceivingProgressedEvent event);