diff options
author | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-19 04:32:14 +0000 |
---|---|---|
committer | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-19 04:32:14 +0000 |
commit | 3d1d86a8e9465c36354ba17dbba7668b961e273d (patch) | |
tree | ecad7aa93ac12e4e1c1bacc190371d660870fc45 /java | |
parent | db9fc0ce711b26b8ccc2f3704374665330205e0a (diff) | |
download | tigervnc-3d1d86a8e9465c36354ba17dbba7668b961e273d.tar.gz tigervnc-3d1d86a8e9465c36354ba17dbba7668b961e273d.zip |
[Developement] Added base methods headers to interface RecordInterface.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3409 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/tightvnc/vncviewer/RecordInterface.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/java/src/com/tightvnc/vncviewer/RecordInterface.java b/java/src/com/tightvnc/vncviewer/RecordInterface.java index bdef8891..6db71ce4 100644 --- a/java/src/com/tightvnc/vncviewer/RecordInterface.java +++ b/java/src/com/tightvnc/vncviewer/RecordInterface.java @@ -1,9 +1,26 @@ package com.tightvnc.vncviewer; +import java.io.IOException; + // // This interface will be used for recording sessions // by decoders classes in com.tighvnc.decoder package. // public interface RecordInterface { + // + // Recording state methods + // + public boolean isRecordFromBeginning(); + public boolean canWrite(); + // + // Write data methods + // + public void write(byte b[]) throws IOException; + public void write(byte b[], int off, int len) throws IOException; + public void writeByte(byte b) throws IOException; + public void writeByte(int i) throws IOException; + public void writeIntBE(int v) throws IOException; + public void recordCompactLen(int len) throws IOException; + public void recordCompressedData(byte[] data) throws IOException; } |