public class CConn extends CConnection implements UserPasswdGetter, UserMsgBox, OptionsDialogCallback, FdInStreamBlockCallback, ActionListener
| Modifier and Type | Field and Description |
|---|---|
ActionListener |
closeListener |
protected com.tigervnc.vncviewer.DesktopWindow |
desktop |
int |
menuKeyCode |
UserMsgBox |
msg |
PixelFormat |
serverPF |
static UserPasswdGetter |
upg |
csecurity, maxSecTypes, RFBSTATE_INITIALISATION, RFBSTATE_INVALID, RFBSTATE_NORMAL, RFBSTATE_PROTOCOL_VERSION, RFBSTATE_SECURITY, RFBSTATE_SECURITY_RESULT, RFBSTATE_SECURITY_TYPES, RFBSTATE_UNINITIALISED, securitycp| Constructor and Description |
|---|
CConn(VncViewer viewer_,
Socket sock_,
String vncServerName) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
beginRect(Rect r,
int encoding) |
void |
bell() |
void |
blockCallback() |
void |
clientRedirect(int port,
String host,
String x509subject) |
void |
close() |
void |
copyRect(Rect r,
int sx,
int sy) |
void |
endRect(Rect r,
int encoding) |
void |
fence(int flags,
int len,
byte[] data) |
void |
fillRect(Rect r,
int p) |
void |
framebufferUpdateEnd() |
void |
framebufferUpdateStart() |
void |
getOptions() |
PixelFormat |
getPreferredPF() |
Socket |
getSocket() |
boolean |
getUserPasswd(StringBuffer user,
StringBuffer passwd) |
void |
imageRect(Rect r,
Object p) |
void |
recreateViewport() |
void |
refresh() |
void |
refreshFramebuffer() |
void |
serverCutText(String str,
int len) |
void |
serverInit() |
void |
setCloseListener(ActionListener cl) |
void |
setColourMapEntries(int firstColour,
int nColours,
int[] rgbs) |
void |
setCursor(int width,
int height,
Point hotspot,
int[] data,
byte[] mask) |
void |
setDesktopSize(int w,
int h) |
void |
setEmbeddedFeatures(boolean s) |
void |
setExtendedDesktopSize(int reason,
int result,
int w,
int h,
ScreenSet layout) |
void |
setName(String name) |
void |
setOptions() |
boolean |
showMsgBox(int flags,
String title,
String text) |
void |
toggleFullScreen() |
void |
writeClientCutText(String str,
int len) |
void |
writeKeyEvent(int keysym,
boolean down) |
void |
writeKeyEvent(KeyEvent ev) |
void |
writePointerEvent(MouseEvent ev) |
void |
writeWheelEvent(MouseWheelEvent ev) |
authSuccess, deleteReaderAndWriter, getInStream, getOutStream, getServerName, getServerPort, initialiseProtocol, initSecTypes, processMsg, reader, setClientSecTypeOrder, setProtocol3_3, setServerName, setServerPort, setShared, setState, setStreams, state, writerendOfContinuousUpdates, setPixelFormatpublic static UserPasswdGetter upg
public UserMsgBox msg
protected com.tigervnc.vncviewer.DesktopWindow desktop
public PixelFormat serverPF
public int menuKeyCode
public ActionListener closeListener
public final PixelFormat getPreferredPF()
getPreferredPF in class CMsgHandlerpublic void refreshFramebuffer()
public boolean showMsgBox(int flags,
String title,
String text)
showMsgBox in interface UserMsgBoxpublic void blockCallback()
blockCallback in interface FdInStreamBlockCallbackpublic final boolean getUserPasswd(StringBuffer user, StringBuffer passwd)
getUserPasswd in interface UserPasswdGetterpublic void serverInit()
serverInit in class CConnectionpublic void setDesktopSize(int w,
int h)
setDesktopSize in class CMsgHandlerpublic void setExtendedDesktopSize(int reason,
int result,
int w,
int h,
ScreenSet layout)
setExtendedDesktopSize in class CMsgHandlerpublic void clientRedirect(int port,
String host,
String x509subject)
clientRedirect in class CMsgHandlerpublic void setName(String name)
setName in class CMsgHandlerpublic void framebufferUpdateStart()
framebufferUpdateStart in class CMsgHandlerpublic void framebufferUpdateEnd()
framebufferUpdateEnd in class CMsgHandlerpublic void setColourMapEntries(int firstColour,
int nColours,
int[] rgbs)
setColourMapEntries in class CMsgHandlerpublic void bell()
bell in class CMsgHandlerpublic void serverCutText(String str, int len)
serverCutText in class CMsgHandlerpublic void beginRect(Rect r, int encoding)
beginRect in class CMsgHandlerpublic void endRect(Rect r, int encoding)
endRect in class CMsgHandlerpublic void fillRect(Rect r, int p)
fillRect in class CMsgHandlerpublic void imageRect(Rect r, Object p)
imageRect in class CMsgHandlerpublic void copyRect(Rect r, int sx, int sy)
copyRect in class CMsgHandlerpublic void setCursor(int width,
int height,
Point hotspot,
int[] data,
byte[] mask)
setCursor in class CMsgHandlerpublic void fence(int flags,
int len,
byte[] data)
fence in class CConnectionpublic void setEmbeddedFeatures(boolean s)
public void recreateViewport()
public void close()
public void refresh()
public void setOptions()
setOptions in interface OptionsDialogCallbackpublic void getOptions()
getOptions in interface OptionsDialogCallbackpublic void toggleFullScreen()
public void writeClientCutText(String str, int len)
public void writeKeyEvent(int keysym,
boolean down)
public void writeKeyEvent(KeyEvent ev)
public void writePointerEvent(MouseEvent ev)
public void writeWheelEvent(MouseWheelEvent ev)
public void setCloseListener(ActionListener cl)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Socket getSocket()
Copyright © 2019. All rights reserved.