Class VncSession

java.lang.Object
com.shinyhut.vernacular.client.VncSession

public class VncSession extends Object
  • Field Details

    • host

      private final String host
    • port

      private final int port
    • config

      private final VernacularConfig config
    • inputStream

      private final InputStream inputStream
    • outputStream

      private final OutputStream outputStream
    • protocolVersion

      private ProtocolVersion protocolVersion
    • serverInit

      private ServerInit serverInit
    • pixelFormat

      private PixelFormat pixelFormat
    • framebufferWidth

      private int framebufferWidth
    • framebufferHeight

      private int framebufferHeight
    • lastFramebufferUpdateTime

      private volatile LocalDateTime lastFramebufferUpdateTime
    • lastFramebufferUpdateRequestTime

      private LocalDateTime lastFramebufferUpdateRequestTime
  • Constructor Details

  • Method Details

    • getInputStream

      public InputStream getInputStream()
    • getOutputStream

      public OutputStream getOutputStream()
    • getConfig

      public VernacularConfig getConfig()
    • getProtocolVersion

      public ProtocolVersion getProtocolVersion()
    • setProtocolVersion

      public void setProtocolVersion(ProtocolVersion protocolVersion)
    • getServerInit

      public ServerInit getServerInit()
    • setServerInit

      public void setServerInit(ServerInit serverInit)
    • getPixelFormat

      public PixelFormat getPixelFormat()
    • setPixelFormat

      public void setPixelFormat(PixelFormat pixelFormat)
    • getLastFramebufferUpdateTime

      public Optional<LocalDateTime> getLastFramebufferUpdateTime()
    • setLastFramebufferUpdateTime

      public void setLastFramebufferUpdateTime(LocalDateTime lastFramebufferUpdateTime)
    • getLastFramebufferUpdateRequestTime

      public Optional<LocalDateTime> getLastFramebufferUpdateRequestTime()
    • setLastFramebufferUpdateRequestTime

      public void setLastFramebufferUpdateRequestTime(LocalDateTime lastFramebufferUpdateRequestTime)
    • getFramebufferWidth

      public int getFramebufferWidth()
    • setFramebufferWidth

      public void setFramebufferWidth(int framebufferWidth)
    • getFramebufferHeight

      public int getFramebufferHeight()
    • setFramebufferHeight

      public void setFramebufferHeight(int framebufferHeight)
    • kill

      public void kill()