From 0eaec7d2ad8d84cecb13032a6968c99eaab9a971 Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Fri, 3 Feb 2012 05:38:23 +0000 Subject: 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 --- java/com/tigervnc/rfb/CConnection.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'java/com/tigervnc/rfb/CConnection.java') 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"); } -- cgit v1.2.3