1. /*
  2. * @(#)ValueInputStream.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.4
  10. *
  11. * ValueInputStream is used for implementing RMI-IIOP
  12. * stream format version 2.
  13. */
  14. public interface ValueInputStream {
  15. /**
  16. * The start_value method reads a valuetype
  17. * header for a nested custom valuetype and
  18. * increments the valuetype nesting depth.
  19. */
  20. void start_value();
  21. /**
  22. * The end_value method reads the end tag
  23. * for the nested custom valuetype (after
  24. * skipping any data that precedes the end
  25. * tag) and decrements the valuetype nesting
  26. * depth.
  27. */
  28. void end_value();
  29. }