blob: 7391e99bb0d025c8909c44eec9d52104067a5053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// **********************************************************************
//
// Copyright (c) 2003-2013 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;
/**
* Base class for writing Slice classes to an output stream.
**/
public abstract class ObjectWriter extends ObjectImpl
{
/**
* Writes the state of this Slice class to an output stream.
*
* @param out The stream to write to.
**/
public abstract void write(OutputStream out);
public void
__write(IceInternal.BasicStream os)
{
OutputStream stream = (OutputStream)os.closure();
write(stream);
}
public void
__read(IceInternal.BasicStream is, boolean rid)
{
assert(false);
}
}
|