META-INF/MANIFEST.MF
VncViewer.classVncViewer.java
package
public VncViewer extends java.applet.Applet implements java.lang.Runnable java.awt.event.WindowListener {
boolean inAnApplet
boolean inSeparateFrame
String[] mainArgs
RfbProto rfb
Thread rfbThread
java.awt.Frame vncFrame
java.awt.Container vncContainer
java.awt.ScrollPane desktopScrollPane
java.awt.GridBagLayout gridbag
ButtonPanel buttonPanel
AuthPanel authenticator
VncCanvas vc
OptionsFrame options
ClipboardFrame clipboard
RecordingFrame rec
Object recordingSync
String sessionFileName
boolean recordingActive
boolean recordingStatusChanged
String cursorUpdatesDef
String eightBitColorsDef
String host
int port
String passwordParam
String encPasswordParam
boolean showControls
boolean showOfflineDesktop
int deferScreenUpdates
int deferCursorUpdates
int deferUpdateRequests
boolean disconnectRequested
public static void main (java.lang.String[])
public void init ()
public void update (java.awt.Graphics)
public void run ()
void connectAndAuthenticate () throws java.lang.Exception
boolean tryAuthenticate (java.lang.String) throws java.lang.Exception
void doProtocolInitialisation () throws java.io.IOException
void setEncodings ()
void setCutText (java.lang.String)
void setRecordingStatus (java.lang.String)
boolean checkRecordingStatus () throws java.io.IOException
protected void startRecording () throws java.io.IOException
protected void stopRecording () throws java.io.IOException
public void readParameters ()
public java.lang.String readParameter (java.lang.String, boolean)
int readIntParameter (java.lang.String, int)
void moveFocusToDesktop ()
public synchronized void disconnect ()
public synchronized void fatalError (java.lang.String)
public void destroy ()
public void windowClosing (java.awt.event.WindowEvent)
public void windowActivated (java.awt.event.WindowEvent)
public void windowDeactivated (java.awt.event.WindowEvent)
public void windowOpened (java.awt.event.WindowEvent)
public void windowClosed (java.awt.event.WindowEvent)
public void windowIconified (java.awt.event.WindowEvent)
public void windowDeiconified (java.awt.event.WindowEvent)
public void ()
}
RfbProto.classRfbProto.java
package
RfbProto extends java.lang.Object {
final String versionMsg
static final int ConnFailed
static final int NoAuth
static final int VncAuth
static final int VncAuthOK
static final int VncAuthFailed
static final int VncAuthTooMany
static final int FramebufferUpdate
static final int SetColourMapEntries
static final int Bell
static final int ServerCutText
final int SetPixelFormat
final int FixColourMapEntries
final int SetEncodings
final int FramebufferUpdateRequest
final int KeyboardEvent
final int PointerEvent
final int ClientCutText
static final int EncodingRaw
static final int EncodingCopyRect
static final int EncodingRRE
static final int EncodingCoRRE
static final int EncodingHextile
static final int EncodingZlib
static final int EncodingTight
static final int EncodingCompressLevel0
static final int EncodingQualityLevel0
static final int EncodingXCursor
static final int EncodingRichCursor
static final int EncodingLastRect
static final int EncodingNewFBSize
final int HextileRaw
final int HextileBackgroundSpecified
final int HextileForegroundSpecified
final int HextileAnySubrects
final int HextileSubrectsColoured
static final int TightExplicitFilter
static final int TightFill
static final int TightJpeg
static final int TightMaxSubencoding
static final int TightFilterCopy
static final int TightFilterPalette
static final int TightFilterGradient
static final int TightMinToCompress
String host
int port
java.net.Socket sock
java.io.DataInputStream is
java.io.OutputStream os
SessionRecorder rec
boolean inNormalProtocol
VncViewer viewer
boolean brokenKeyPressed
boolean wereZlibUpdates
boolean recordFromBeginning
boolean zlibWarningShown
boolean tightWarningShown
int numUpdatesInSession
int serverMajor
int serverMinor
String desktopName
int framebufferWidth
int framebufferHeight
int bitsPerPixel
int depth
boolean bigEndian
boolean trueColour
int redMax
int greenMax
int blueMax
int redShift
int greenShift
int blueShift
int updateNRects
int updateRectX
int updateRectY
int updateRectW
int updateRectH
int updateRectEncoding
int copyRectSrcX
int copyRectSrcY
byte[] eventBuf
int eventBufLen
static final int CTRL_MASK
static final int SHIFT_MASK
static final int META_MASK
static final int ALT_MASK
int pointerMask
int oldModifiers
void (java.lang.String, int, VncViewer) throws java.io.IOException
java.lang.String readLine ()
void negotiateProxy (java.lang.String, int) throws java.io.IOException
void close ()
void readVersionMsg () throws java.lang.Exception
void writeVersionMsg () throws java.io.IOException
int readAuthScheme () throws java.lang.Exception
void writeClientInit () throws java.io.IOException
void readServerInit () throws java.io.IOException
void startSession (java.lang.String) throws java.io.IOException
void closeSession () throws java.io.IOException
void setFramebufferSize (int, int)
int readServerMessageType () throws java.io.IOException
void readFramebufferUpdate () throws java.io.IOException
void readFramebufferUpdateRectHdr () throws java.lang.Exception
void readCopyRect () throws java.io.IOException
java.lang.String readServerCutText () throws java.io.IOException
int readCompactLen () throws java.io.IOException
void writeFramebufferUpdateRequest (int, int, int, int, boolean) throws java.io.IOException
void writeSetPixelFormat (int, int, boolean, boolean, int, int, int, int, int, int) throws java.io.IOException
void writeFixColourMapEntries (int, int, int[], int[], int[]) throws java.io.IOException
void writeSetEncodings (int[], int) throws java.io.IOException
void writeClientCutText (java.lang.String) throws java.io.IOException
void writePointerEvent (java.awt.event.MouseEvent) throws java.io.IOException
void writeKeyEvent (java.awt.event.KeyEvent) throws java.io.IOException
void writeKeyEvent (int, boolean)
void writeModifierKeyEvents (int)
void recordCompressedData (byte[], int, int) throws java.io.IOException
void recordCompressedData (byte[]) throws java.io.IOException
void recordCompactLen (int) throws java.io.IOException
}
AuthPanel.classAuthPanel.java
package
AuthPanel extends java.awt.Panel implements java.awt.event.ActionListener {
java.awt.Label title
java.awt.Label retry
java.awt.Label prompt
java.awt.TextField password
java.awt.Button ok
public void ()
public void moveFocusToPasswordField ()
public synchronized void actionPerformed (java.awt.event.ActionEvent)
public void retry ()
}
VncCanvas.classVncCanvas.java
package
VncCanvas extends java.awt.Canvas implements java.awt.event.KeyListener java.awt.event.MouseListener java.awt.event.MouseMotionListener {
VncViewer viewer
RfbProto rfb
java.awt.image.ColorModel cm8
java.awt.image.ColorModel cm24
java.awt.Color[] colors
int bytesPixel
java.awt.Image memImage
java.awt.Graphics memGraphics
java.awt.Image rawPixelsImage
java.awt.image.MemoryImageSource pixelsSource
byte[] pixels8
int[] pixels24
byte[] zlibBuf
int zlibBufLen
java.util.zip.Inflater zlibInflater
static final int tightZlibBufferSize
java.util.zip.Inflater[] tightInflaters
java.awt.Rectangle jpegRect
boolean inputEnabled
private java.awt.Color hextile_bg
private java.awt.Color hextile_fg
boolean showSoftCursor
int[] softCursorPixels
java.awt.image.MemoryImageSource softCursorSource
java.awt.Image softCursor
int cursorX
int cursorY
int cursorWidth
int cursorHeight
int hotX
int hotY
void (VncViewer) throws java.io.IOException
public java.awt.Dimension getPreferredSize ()
public java.awt.Dimension getMinimumSize ()
public java.awt.Dimension getMaximumSize ()
public void update (java.awt.Graphics)
public void paint (java.awt.Graphics)
public boolean imageUpdate (java.awt.Image, int, int, int, int, int)
public synchronized void enableInput (boolean)
public void setPixelFormat () throws java.io.IOException
void updateFramebufferSize ()
void resizeDesktopFrame ()
public void processNormalProtocol () throws java.lang.Exception
void handleRawRect (int, int, int, int) throws java.io.IOException
void handleRawRect (int, int, int, int, boolean) throws java.io.IOException
void handleCopyRect (int, int, int, int) throws java.io.IOException
void handleRRERect (int, int, int, int) throws java.io.IOException
void handleCoRRERect (int, int, int, int) throws java.io.IOException
void handleHextileRect (int, int, int, int) throws java.io.IOException
void handleHextileSubrect (int, int, int, int) throws java.io.IOException
void handleZlibRect (int, int, int, int) throws java.lang.Exception
void handleTightRect (int, int, int, int) throws java.lang.Exception
void decodeMonoData (int, int, int, int, byte[], byte[])
void decodeMonoData (int, int, int, int, byte[], int[])
void decodeGradientData (int, int, int, int, byte[])
void handleUpdatedPixels (int, int, int, int)
void scheduleRepaint (int, int, int, int)
public void keyPressed (java.awt.event.KeyEvent)
public void keyReleased (java.awt.event.KeyEvent)
public void keyTyped (java.awt.event.KeyEvent)
public void mousePressed (java.awt.event.MouseEvent)
public void mouseReleased (java.awt.event.MouseEvent)
public void mouseMoved (java.awt.event.MouseEvent)
public void mouseDragged (java.awt.event.MouseEvent)
public void processLocalKeyEvent (java.awt.event.KeyEvent)
public void processLocalMouseEvent (java.awt.event.MouseEvent, boolean)
public void mouseClicked (java.awt.event.MouseEvent)
public void mouseEntered (java.awt.event.MouseEvent)
public void mouseExited (java.awt.event.MouseEvent)
synchronized void handleCursorShapeUpdate (int, int, int, int, int) throws java.io.IOException
synchronized void softCursorMove (int, int)
synchronized void softCursorFree ()
}
OptionsFrame.classOptionsFrame.java
package
OptionsFrame extends java.awt.Frame implements java.awt.event.WindowListener java.awt.event.ActionListener java.awt.event.ItemListener {
static String[] names
static String[][] values
final int encodingIndex
final int compressLevelIndex
final int jpegQualityIndex
final int cursorUpdatesIndex
final int useCopyRectIndex
final int eightBitColorsIndex
final int mouseButtonIndex
final int viewOnlyIndex
final int shareDesktopIndex
java.awt.Label[] labels
java.awt.Choice[] choices
java.awt.Label proxyHostLabel
java.awt.TextField proxyHostEdit
java.awt.Label proxyPortLabel
java.awt.TextField proxyPortEdit
java.awt.Button closeButton
VncViewer viewer
int[] encodings
int nEncodings
int compressLevel
int jpegQuality
boolean eightBitColors
boolean requestCursorUpdates
boolean ignoreCursorUpdates
boolean reverseMouseButtons2And3
boolean shareDesktop
boolean viewOnly
String proxyHost
int proxyPort
void (VncViewer)
void disableShareDesktop ()
void setEncodings ()
void setColorFormat ()
void setOtherOptions ()
public void itemStateChanged (java.awt.event.ItemEvent)
public void actionPerformed (java.awt.event.ActionEvent)
public void windowClosing (java.awt.event.WindowEvent)
public void windowActivated (java.awt.event.WindowEvent)
public void windowDeactivated (java.awt.event.WindowEvent)
public void windowOpened (java.awt.event.WindowEvent)
public void windowClosed (java.awt.event.WindowEvent)
public void windowIconified (java.awt.event.WindowEvent)
public void windowDeiconified (java.awt.event.WindowEvent)
static void ()
}
ClipboardFrame.classClipboardFrame.java
package
ClipboardFrame extends java.awt.Frame implements java.awt.event.WindowListener java.awt.event.ActionListener {
java.awt.TextArea textArea
java.awt.Button clearButton
java.awt.Button closeButton
String selection
VncViewer viewer
void (VncViewer)
void setCutText (java.lang.String)
public void windowDeactivated (java.awt.event.WindowEvent)
public void windowClosing (java.awt.event.WindowEvent)
public void windowActivated (java.awt.event.WindowEvent)
public void windowOpened (java.awt.event.WindowEvent)
public void windowClosed (java.awt.event.WindowEvent)
public void windowIconified (java.awt.event.WindowEvent)
public void windowDeiconified (java.awt.event.WindowEvent)
public void actionPerformed (java.awt.event.ActionEvent)
}
ButtonPanel.classButtonPanel.java
package
ButtonPanel extends java.awt.Panel implements java.awt.event.ActionListener {
VncViewer viewer
java.awt.Button disconnectButton
java.awt.Button optionsButton
java.awt.Button recordButton
java.awt.Button clipboardButton
java.awt.Button ctrlAltDelButton
java.awt.Button refreshButton
void (VncViewer)
public void enableButtons ()
public void disableButtonsOnDisconnect ()
public void enableRemoteAccessControls (boolean)
public void actionPerformed (java.awt.event.ActionEvent)
}
DesCipher.classDesCipher.java
package
public DesCipher extends java.lang.Object {
private int[] encryptKeys
private int[] decryptKeys
private int[] tempInts
private static byte[] bytebit
private static int[] bigbyte
private static byte[] pc1
private static int[] totrot
private static byte[] pc2
private static int[] SP1
private static int[] SP2
private static int[] SP3
private static int[] SP4
private static int[] SP5
private static int[] SP6
private static int[] SP7
private static int[] SP8
public void (byte[])
public void setKey (byte[])
private void deskey (byte[], boolean, int[])
private void cookey (int[], int[])
public void encrypt (byte[], int, byte[], int)
public void decrypt (byte[], int, byte[], int)
private void des (int[], int[], int[])
public static void squashBytesToInts (byte[], int, int[], int, int)
public static void spreadIntsToBytes (int[], int, byte[], int, int)
static void ()
}
RecordingFrame.classRecordingFrame.java
package
RecordingFrame extends java.awt.Frame implements java.awt.event.WindowListener java.awt.event.ActionListener {
boolean recording
java.awt.TextField fnameField
java.awt.Button browseButton
java.awt.Label statusLabel
java.awt.Button recordButton
java.awt.Button nextButton
java.awt.Button closeButton
VncViewer viewer
public static boolean checkSecurity ()
void (VncViewer)
protected java.lang.String nextFilename (java.lang.String)
protected java.lang.String nextNewFilename (java.lang.String)
protected boolean browseFile ()
public void startRecording ()
public void stopRecording ()
public void windowClosing (java.awt.event.WindowEvent)
public void windowActivated (java.awt.event.WindowEvent)
public void windowDeactivated (java.awt.event.WindowEvent)
public void windowOpened (java.awt.event.WindowEvent)
public void windowClosed (java.awt.event.WindowEvent)
public void windowIconified (java.awt.event.WindowEvent)
public void windowDeiconified (java.awt.event.WindowEvent)
public void actionPerformed (java.awt.event.ActionEvent)
}
SessionRecorder.classSessionRecorder.java
package
SessionRecorder extends java.lang.Object {
protected java.io.FileOutputStream f
protected java.io.DataOutputStream df
protected long startTime
protected long lastTimeOffset
protected byte[] buffer
protected int bufferSize
protected int bufferBytes
public void (java.lang.String, int) throws java.io.IOException
public void (java.lang.String) throws java.io.IOException
public void close () throws java.io.IOException
public void writeHeader () throws java.io.IOException
public void writeByte (int) throws java.io.IOException
public void writeShortBE (int) throws java.io.IOException
public void writeIntBE (int) throws java.io.IOException
public void writeShortLE (int) throws java.io.IOException
public void writeIntLE (int) throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
public void write (byte[]) throws java.io.IOException
public void flush (boolean) throws java.io.IOException
public void flush () throws java.io.IOException
protected void prepareWriting () throws java.io.IOException
}