Package com.shinyhut.vernacular.client
Class VncSession
java.lang.Object
com.shinyhut.vernacular.client.VncSession
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final VernacularConfigprivate intprivate intprivate final Stringprivate final InputStreamprivate LocalDateTimeprivate LocalDateTimeprivate final OutputStreamprivate PixelFormatprivate final intprivate ProtocolVersionprivate ServerInit -
Constructor Summary
ConstructorsConstructorDescriptionVncSession(String host, int port, VernacularConfig config, InputStream inputStream, OutputStream outputStream) -
Method Summary
Modifier and TypeMethodDescriptionintintvoidkill()voidsetFramebufferHeight(int framebufferHeight) voidsetFramebufferWidth(int framebufferWidth) voidsetLastFramebufferUpdateRequestTime(LocalDateTime lastFramebufferUpdateRequestTime) voidsetLastFramebufferUpdateTime(LocalDateTime lastFramebufferUpdateTime) voidsetPixelFormat(PixelFormat pixelFormat) voidsetProtocolVersion(ProtocolVersion protocolVersion) voidsetServerInit(ServerInit serverInit)
-
Field Details
-
host
-
port
private final int port -
config
-
inputStream
-
outputStream
-
protocolVersion
-
serverInit
-
pixelFormat
-
framebufferWidth
private int framebufferWidth -
framebufferHeight
private int framebufferHeight -
lastFramebufferUpdateTime
-
lastFramebufferUpdateRequestTime
-
-
Constructor Details
-
VncSession
public VncSession(String host, int port, VernacularConfig config, InputStream inputStream, OutputStream outputStream)
-
-
Method Details
-
getInputStream
-
getOutputStream
-
getConfig
-
getProtocolVersion
-
setProtocolVersion
-
getServerInit
-
setServerInit
-
getPixelFormat
-
setPixelFormat
-
getLastFramebufferUpdateTime
-
setLastFramebufferUpdateTime
-
getLastFramebufferUpdateRequestTime
-
setLastFramebufferUpdateRequestTime
-
getFramebufferWidth
public int getFramebufferWidth() -
setFramebufferWidth
public void setFramebufferWidth(int framebufferWidth) -
getFramebufferHeight
public int getFramebufferHeight() -
setFramebufferHeight
public void setFramebufferHeight(int framebufferHeight) -
kill
public void kill()
-