diff options
author | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-24 03:30:29 +0000 |
---|---|---|
committer | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-24 03:30:29 +0000 |
commit | 3e9ff9fbefe111925807d4a30531918a77fed789 (patch) | |
tree | cdfe0ef05a024335b5b8c94253372b0bee899180 /java/src | |
parent | f32f8859d553b7ca7b101d87d81f2d084a8dd55a (diff) | |
download | tigervnc-3e9ff9fbefe111925807d4a30531918a77fed789.tar.gz tigervnc-3e9ff9fbefe111925807d4a30531918a77fed789.zip |
[Developement] Added temporary method "setDataOutputStream" and member "dos" (interface DataOutputStream). This method will be removed or renamed after class RawDecoder will need RecordInterface to record session no more.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3446 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/tightvnc/decoder/RawDecoder.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/java/src/com/tightvnc/decoder/RawDecoder.java b/java/src/com/tightvnc/decoder/RawDecoder.java index f2442107..2095220a 100644 --- a/java/src/com/tightvnc/decoder/RawDecoder.java +++ b/java/src/com/tightvnc/decoder/RawDecoder.java @@ -3,6 +3,7 @@ package com.tightvnc.decoder; import com.tightvnc.vncviewer.RecordInterface; import com.tightvnc.vncviewer.RfbInputStream; import java.io.IOException; +import java.io.DataOutputStream; import java.awt.Graphics; import java.awt.Image; import java.awt.image.ColorModel; @@ -62,6 +63,15 @@ public class RawDecoder { } // + // FIXME: Rename this method after we don't need RecordInterface + // in RawDecoder class to record session + // + + public void setDataOutputStream(DataOutputStream os) { + dos = os; + } + + // // FIXME: This method may be useless in future, remove if so // @@ -110,7 +120,7 @@ public class RawDecoder { } // else handleUpdatedPixels(x, y, w, h); } // void - + // // Display newly updated area of pixels. // @@ -187,6 +197,7 @@ public class RawDecoder { protected RfbInputStream rfbis = null; protected Graphics graphics = null; protected RecordInterface rec = null; + protected DataOutputStream dos = null; // // This data must be shared between decoders |