class VNCScreen extends HeadlessScreen
Modifier and Type | Class and Description |
---|---|
private class |
VNCScreen.ClientConnection |
private class |
VNCScreen.ConnectionAccepter |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<VNCScreen.ClientConnection> |
clients |
private java.nio.channels.ServerSocketChannel |
server |
depth, fb, height, width
framebufferSwapLock
Constructor and Description |
---|
VNCScreen() |
Modifier and Type | Method and Description |
---|---|
private void |
removeClient(VNCScreen.ClientConnection cc,
java.io.IOException e) |
private void |
sendBuffer(java.nio.channels.WritableByteChannel out) |
void |
shutdown()
Called during JavaFX shutdown to release the screen.
|
void |
swapBuffers()
Called on the JavaFX application thread when pixel data for all windows
has been uploaded.
|
getDepth, getDPI, getHeight, getNativeFormat, getNativeHandle, getScale, getScreenCapture, getWidth, uploadPixels
private java.nio.channels.ServerSocketChannel server
private java.util.Set<VNCScreen.ClientConnection> clients
public void shutdown()
NativeScreen
shutdown
in interface NativeScreen
shutdown
in class HeadlessScreen
public void swapBuffers()
NativeScreen
swapBuffers
in interface NativeScreen
swapBuffers
in class HeadlessScreen
private void removeClient(VNCScreen.ClientConnection cc, java.io.IOException e)
private void sendBuffer(java.nio.channels.WritableByteChannel out) throws java.io.IOException
java.io.IOException