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

org.kohsuke.ajaxterm.ScreenImage Maven / Gradle / Ivy

There is a newer version: 1.7
Show newest version
package org.kohsuke.ajaxterm;

/**
 * State of the virtual screen held by the terminal.
 *
 * @author Kohsuke Kawaguchi
 */
public final class ScreenImage {
    /**
     * HTML dump of the screen image.
     */
    public final String screen;
    /**
     * Represents the timestamp of the screen image.
     *
     * This value should be passed to the client, and it should then send it back
     * for the next invocation of {@link Terminal#dumpHtml(boolean, int)} for
     * up-to-date check of the screen image.
     */
    public final int timestamp;

    public ScreenImage(int timestamp, String screen) {
        this.timestamp = timestamp;
        this.screen = screen;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy