summaryrefslogtreecommitdiff
path: root/java/src/Ice/InputStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/InputStream.java')
-rw-r--r--java/src/Ice/InputStream.java57
1 files changed, 57 insertions, 0 deletions
diff --git a/java/src/Ice/InputStream.java b/java/src/Ice/InputStream.java
new file mode 100644
index 00000000000..a272d560d2b
--- /dev/null
+++ b/java/src/Ice/InputStream.java
@@ -0,0 +1,57 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package Ice;
+
+public interface InputStream
+{
+ Communicator communicator();
+
+ void sliceObjects(boolean slice);
+
+ boolean readBool();
+ boolean[] readBoolSeq();
+
+ byte readByte();
+ byte[] readByteSeq();
+
+ short readShort();
+ short[] readShortSeq();
+
+ int readInt();
+ int[] readIntSeq();
+
+ long readLong();
+ long[] readLongSeq();
+
+ float readFloat();
+ float[] readFloatSeq();
+
+ double readDouble();
+ double[] readDoubleSeq();
+
+ String readString();
+ String[] readStringSeq();
+
+ int readSize();
+
+ ObjectPrx readProxy();
+
+ void readObject(ReadObjectCallback cb);
+
+ String readTypeId();
+
+ void throwException() throws UserException;
+
+ void startSlice();
+ void endSlice();
+ void skipSlice();
+
+ void finished();
+}