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, widthframebufferSwapLock| 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, uploadPixelsprivate java.nio.channels.ServerSocketChannel server
private java.util.Set<VNCScreen.ClientConnection> clients
public void shutdown()
NativeScreenshutdown in interface NativeScreenshutdown in class HeadlessScreenpublic void swapBuffers()
NativeScreenswapBuffers in interface NativeScreenswapBuffers in class HeadlessScreenprivate void removeClient(VNCScreen.ClientConnection cc, java.io.IOException e)
private void sendBuffer(java.nio.channels.WritableByteChannel out)
throws java.io.IOException
java.io.IOException