Lines Matching refs:stream

121          * Write the data and fields to the specified ObjectOutput stream.
128 // Write the fields to the stream in the order
167 // Return the stream format version currently being used
196 // RMI-IIOP stream format version 2. Please see the
207 public void enterWriteObject(OutputStreamHook stream) throws IOException {}
208 public void exitWriteObject(OutputStreamHook stream) throws IOException {}
209 public void defaultWriteObject(OutputStreamHook stream) throws IOException {}
210 public void writeData(OutputStreamHook stream) throws IOException {}
214 public void enterWriteObject(OutputStreamHook stream) throws IOException {
215 stream.setState(IN_WRITE_OBJECT);
226 public void enterWriteObject(OutputStreamHook stream) throws IOException {
231 public void exitWriteObject(OutputStreamHook stream) throws IOException {
235 stream.getOrbStream().write_boolean(false);
237 // If we're in stream format verison 2, we must
240 if (stream.getStreamFormatVersion() == 2)
241 stream.getOrbStream().write_long(0);
243 stream.setState(NOT_IN_WRITE_OBJECT);
246 public void defaultWriteObject(OutputStreamHook stream) throws IOException {
251 stream.getOrbStream().write_boolean(true);
253 stream.setState(WROTE_DEFAULT_DATA);
256 public void writeData(OutputStreamHook stream) throws IOException {
260 // indicator as false, put the special stream format
261 // version 2 header (if stream format version 2, of course),
263 stream.getOrbStream().write_boolean(false);
264 stream.beginOptionalCustomData();
265 stream.setState(WROTE_CUSTOM_DATA);
271 public void exitWriteObject(OutputStreamHook stream) throws IOException {
273 // We only wrote default data, so if in stream format
276 if (stream.getStreamFormatVersion() == 2)
277 stream.getOrbStream().write_long(0);
279 stream.setState(NOT_IN_WRITE_OBJECT);
282 public void defaultWriteObject(OutputStreamHook stream) throws IOException {
287 public void writeData(OutputStreamHook stream) throws IOException {
290 // If in stream format version 2, put the fake valuetype
292 stream.beginOptionalCustomData();
294 stream.setState(WROTE_CUSTOM_DATA);
300 public void exitWriteObject(OutputStreamHook stream) throws IOException {
301 // In stream format version 2, we must tell the ORB
302 // stream to close the fake custom valuetype.
303 if (stream.getStreamFormatVersion() == 2)
304 ((org.omg.CORBA.portable.ValueOutputStream)stream.getOrbStream()).end_value();
306 stream.setState(NOT_IN_WRITE_OBJECT);
309 public void defaultWriteObject(OutputStreamHook stream) throws IOException {
315 // the stream write the data.
316 public void writeData(OutputStreamHook stream) throws IOException {}