diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-08-06 15:02:15 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-08-06 15:02:15 +0200 |
commit | 4f9a13928253344c0191b3116c4408c1d83604d9 (patch) | |
tree | deca77fd2e69f0cb532c70de9adf14d6e3d628fe /java/src/Ice/OutputStream.java | |
parent | Rebuilt dependencies (diff) | |
download | ice-4f9a13928253344c0191b3116c4408c1d83604d9.tar.bz2 ice-4f9a13928253344c0191b3116c4408c1d83604d9.tar.xz ice-4f9a13928253344c0191b3116c4408c1d83604d9.zip |
Removed Stream::format method, replace with startWriteEncaps parameter
Diffstat (limited to 'java/src/Ice/OutputStream.java')
-rw-r--r-- | java/src/Ice/OutputStream.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/java/src/Ice/OutputStream.java b/java/src/Ice/OutputStream.java index d921241b2f4..7c92d240ff3 100644 --- a/java/src/Ice/OutputStream.java +++ b/java/src/Ice/OutputStream.java @@ -190,13 +190,6 @@ public interface OutputStream void writeException(UserException ex); /** - * Select the format to be used for classes and exceptions. - * - * @param format Specify the compact or sliced format. - **/ - void format(FormatType format); - - /** * Marks the start of an Ice object. * * @param slicedData Preserved slices for this object, or null. @@ -237,8 +230,11 @@ public interface OutputStream * Writes the start of an encapsulation to the stream. * * @param encoding The encoding version of the encapsulation. + * + * @param format Specify the compact or sliced format. + * **/ - void startEncapsulation(Ice.EncodingVersion encoding); + void startEncapsulation(Ice.EncodingVersion encoding, Ice.FormatType format); /** * Writes the start of an encapsulation to the stream. |