net.vncviewer
Class CConn
java.lang.Object
   net.vncviewer.rfb.CMsgHandler
net.vncviewer.rfb.CMsgHandler
       net.vncviewer.rfb.CConnection
net.vncviewer.rfb.CConnection
           net.vncviewer.CConn
net.vncviewer.CConn
- All Implemented Interfaces: 
- OptionsDialogCallback, UserPasswdGetter
- public class CConn 
- extends CConnection- implements UserPasswdGetter, OptionsDialogCallback
 
 
 
 
| Method Summary | 
|  void | beginRect(int x,
          int y,
          int w,
          int h,
          int encoding)
 | 
|  void | bell()
 | 
|  void | close()
 | 
|  void | copyRect(int x,
         int y,
         int w,
         int h,
         int sx,
         int sy)
 | 
|  void | endRect(int x,
        int y,
        int w,
        int h,
        int encoding)
 | 
|  void | fillRect(int x,
         int y,
         int w,
         int h,
         int p)
 | 
|  void | framebufferUpdateEnd()
 | 
|  void | framebufferUpdateStart()
 | 
|  CSecurity | getCSecurity(int secType)
 | 
|  void | getOptions()
 | 
|  boolean | getUserPasswd(java.lang.StringBuffer user,
              java.lang.StringBuffer passwd)
 | 
|  void | imageRect(int x,
          int y,
          int w,
          int h,
          byte[] p,
          int offset)
 | 
|  boolean | init(java.net.Socket sock_,
     java.lang.String vncServerName,
     boolean alwaysShowServerDialog)
 | 
|  void | refresh()
 | 
|  void | serverCutText(java.lang.String str)
 | 
|  void | serverInit()
 | 
|  void | setColourMapEntries(int firstColour,
                    int nColours,
                    int[] rgbs)
 | 
|  void | setCursor(int hotspotX,
          int hotspotY,
          int w,
          int h,
          byte[] data,
          byte[] mask)
 | 
|  void | setDesktopSize(int w,
               int h)
 | 
|  void | setOptions()
 | 
|  void | showInfo()
 | 
|  void | showMenu(int x,
         int y)
 | 
|  void | writeClientCutText(java.lang.String str)
 | 
|  void | writeKeyEvent(java.awt.Event ev)
 | 
|  void | writeKeyEvent(int keysym,
              boolean down)
 | 
|  void | writePointerEvent(java.awt.Event ev)
 | 
 
| Methods inherited from class net.vncviewer.rfb.CConnection | 
| addSecType, authSuccess, getCurrentCSecurity, getInStream, getOutStream, getServerName, initialiseProtocol, initSecTypes, processMsg, reader, setClientSecTypeOrder, setProtocol3_3, setServerName, setShared, setStreams, state, writer | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CConn
public CConn(VNCViewer viewer_)
init
public boolean init(java.net.Socket sock_,
                    java.lang.String vncServerName,
                    boolean alwaysShowServerDialog)
             throws java.io.IOException
- 
 
- 
- Throws:
- java.io.IOException
 
getUserPasswd
public boolean getUserPasswd(java.lang.StringBuffer user,
                             java.lang.StringBuffer passwd)
- 
- Specified by:
- getUserPasswdin interface- UserPasswdGetter
 
- 
 
getCSecurity
public CSecurity getCSecurity(int secType)
- 
- Specified by:
- getCSecurityin class- CConnection
 
- 
 
serverInit
public void serverInit()
- 
- Overrides:
- serverInitin class- CConnection
 
- 
 
setDesktopSize
public void setDesktopSize(int w,
                           int h)
- 
- Overrides:
- setDesktopSizein class- CMsgHandler
 
- 
 
framebufferUpdateStart
public void framebufferUpdateStart()
- 
- Overrides:
- framebufferUpdateStartin class- CMsgHandler
 
- 
 
framebufferUpdateEnd
public void framebufferUpdateEnd()
- 
- Overrides:
- framebufferUpdateEndin class- CMsgHandler
 
- 
 
setColourMapEntries
public void setColourMapEntries(int firstColour,
                                int nColours,
                                int[] rgbs)
- 
- Overrides:
- setColourMapEntriesin class- CMsgHandler
 
- 
 
bell
public void bell()
- 
- Overrides:
- bellin class- CMsgHandler
 
- 
 
serverCutText
public void serverCutText(java.lang.String str)
- 
- Overrides:
- serverCutTextin class- CMsgHandler
 
- 
 
beginRect
public void beginRect(int x,
                      int y,
                      int w,
                      int h,
                      int encoding)
- 
- Overrides:
- beginRectin class- CMsgHandler
 
- 
 
endRect
public void endRect(int x,
                    int y,
                    int w,
                    int h,
                    int encoding)
- 
- Overrides:
- endRectin class- CMsgHandler
 
- 
 
fillRect
public void fillRect(int x,
                     int y,
                     int w,
                     int h,
                     int p)
- 
- Overrides:
- fillRectin class- CMsgHandler
 
- 
 
imageRect
public void imageRect(int x,
                      int y,
                      int w,
                      int h,
                      byte[] p,
                      int offset)
- 
- Overrides:
- imageRectin class- CMsgHandler
 
- 
 
copyRect
public void copyRect(int x,
                     int y,
                     int w,
                     int h,
                     int sx,
                     int sy)
- 
- Overrides:
- copyRectin class- CMsgHandler
 
- 
 
setCursor
public void setCursor(int hotspotX,
                      int hotspotY,
                      int w,
                      int h,
                      byte[] data,
                      byte[] mask)
- 
- Overrides:
- setCursorin class- CMsgHandler
 
- 
 
close
public void close()
- 
 
- 
 
showMenu
public void showMenu(int x,
                     int y)
- 
 
- 
 
showInfo
public void showInfo()
- 
 
- 
 
refresh
public void refresh()
- 
 
- 
 
setOptions
public void setOptions()
- 
- Specified by:
- setOptionsin interface- OptionsDialogCallback
 
- 
 
getOptions
public void getOptions()
- 
- Specified by:
- getOptionsin interface- OptionsDialogCallback
 
- 
 
writeClientCutText
public void writeClientCutText(java.lang.String str)
- 
 
- 
 
writeKeyEvent
public void writeKeyEvent(int keysym,
                          boolean down)
- 
 
- 
 
writeKeyEvent
public void writeKeyEvent(java.awt.Event ev)
- 
 
- 
 
writePointerEvent
public void writePointerEvent(java.awt.Event ev)
- 
 
-