aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/CConnection.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2012-02-03 05:38:23 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2012-02-03 05:38:23 +0000
commit0eaec7d2ad8d84cecb13032a6968c99eaab9a971 (patch)
tree8b20e49976145a23dcb3c7595a58829e873c51a5 /java/com/tigervnc/rfb/CConnection.java
parent311a2b47cb39567953dad8170b63f3bb4eb7639e (diff)
downloadtigervnc-0eaec7d2ad8d84cecb13032a6968c99eaab9a971.tar.gz
tigervnc-0eaec7d2ad8d84cecb13032a6968c99eaab9a971.zip
Replace all stream-based IO with non-blocking NIO-based implementation. Still a fair amount of cleanup to do, particularly in the SSL handler, which is not very robust, and exception handling in general. All core functionality appears to be working fine though.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4842 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/rfb/CConnection.java')
-rw-r--r--java/com/tigervnc/rfb/CConnection.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/java/com/tigervnc/rfb/CConnection.java b/java/com/tigervnc/rfb/CConnection.java
index 8a477654..0ec44044 100644
--- a/java/com/tigervnc/rfb/CConnection.java
+++ b/java/com/tigervnc/rfb/CConnection.java
@@ -20,6 +20,7 @@ package com.tigervnc.rfb;
import java.util.*;
+import com.tigervnc.network.*;
import com.tigervnc.rdr.*;
abstract public class CConnection extends CMsgHandler {
@@ -347,10 +348,6 @@ abstract public class CConnection extends CMsgHandler {
int serverPort;
boolean useProtocol3_3 = false;
boolean clientSecTypeOrder;
- public static java.net.Socket sock;
-
- public static java.net.Socket getSocket() { return sock; }
- public static void setSocket(java.net.Socket sock_) { sock = sock_; }
static LogWriter vlog = new LogWriter("CConnection");
}