1. /*
  2. * @(#)ValueOutputStream.java 1.2 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA.portable;
  8. /**
  9. * Java to IDL ptc 02-01-12 1.5.1.3
  10. *
  11. * ValueOutputStream is used for implementing RMI-IIOP
  12. * stream format version 2.
  13. */
  14. public interface ValueOutputStream {
  15. /**
  16. * The start_value method ends any currently open chunk,
  17. * writes a valuetype header for a nested custom valuetype
  18. * (with a null codebase and the specified repository ID),
  19. * and increments the valuetype nesting depth.
  20. */
  21. void start_value(java.lang.String rep_id);
  22. /**
  23. * The end_value method ends any currently open chunk,
  24. * writes the end tag for the nested custom valuetype,
  25. * and decrements the valuetype nesting depth.
  26. */
  27. void end_value();
  28. }