From 486c95495b7457fa035001ba026b1b9b848b794b Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Wed, 20 Oct 2004 00:04:40 +0000 Subject: adding streaming interface --- java/src/Ice/InputStream.java | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 java/src/Ice/InputStream.java (limited to 'java/src/Ice/InputStream.java') 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(); +} -- cgit v1.2.3