1. /*
  2. * %W% %E%
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. /*
  11. * Licensed Materials - Property of IBM
  12. * RMI-IIOP v1.0
  13. * Copyright IBM Corp. 1998 1999 All Rights Reserved
  14. *
  15. * US Government Users Restricted Rights - Use, duplication or
  16. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. */
  18. package org.omg.CORBA_2_3.portable;
  19. /**
  20. * InputStream provides for the reading of all of the mapped IDL types
  21. * from the stream. It extends org.omg.CORBA.portable.InputStream. This
  22. * class defines new methods that were added for CORBA 2.3.
  23. *
  24. * @see org.omg.CORBA.portable.InputStream
  25. * @author OMG
  26. * @version %I% %G%
  27. * @since JDK1.2
  28. */
  29. public abstract class InputStream extends org.omg.CORBA.portable.InputStream {
  30. /**
  31. * unmarshalls a value type from the input stream.
  32. */
  33. public java.io.Serializable read_value() {
  34. throw new org.omg.CORBA.NO_IMPLEMENT();
  35. }
  36. /**
  37. * unmarshalls a value type from the input stream.
  38. * @param clz is the declared type of the value to be unmarshalled
  39. * @return the value unmarshalled from the input stream
  40. */
  41. public java.io.Serializable read_value(java.lang.Class clz) {
  42. throw new org.omg.CORBA.NO_IMPLEMENT();
  43. }
  44. /**
  45. * unmarshalls a value type from the input stream.
  46. * @param factory is the instance fo the helper to be used for
  47. * unmarshalling the value type
  48. * @return the value unmarshalled from the input stream
  49. */
  50. public java.io.Serializable read_value(org.omg.CORBA.portable.BoxedValueHelper factory) {
  51. throw new org.omg.CORBA.NO_IMPLEMENT();
  52. }
  53. /**
  54. * unmarshalls a value type from the input stream.
  55. * @param rep_id identifies the type of the value to be unmarshalled
  56. * @return value type unmarshalled from the input stream
  57. */
  58. public java.io.Serializable read_value(java.lang.String rep_id) {
  59. throw new org.omg.CORBA.NO_IMPLEMENT();
  60. }
  61. /**
  62. * unmarshalls a value type from the input stream.
  63. * @param value is an uninitialized value which is added to the orb's
  64. * indirection table before calling Streamable._read() or
  65. * CustomMarshal.unmarshal() to unmarshal the value.
  66. * @return value type unmarshalled from the input stream
  67. */
  68. public java.io.Serializable read_value(java.io.Serializable value) {
  69. throw new org.omg.CORBA.NO_IMPLEMENT();
  70. }
  71. /**
  72. * unmarshal the value object or a suitable stub object.
  73. * @return ORB runtime returns the value object or a suitable stub object.
  74. */
  75. public java.lang.Object read_abstract_interface() {
  76. throw new org.omg.CORBA.NO_IMPLEMENT();
  77. }
  78. /**
  79. * unmarshal the class object or the stub class corresponding to the passed type.
  80. * @param clz is the Class object for the stub class which corresponds to
  81. * the type that is statically expected.
  82. * @return ORB runtime returns the value object or a suitable stub object.
  83. */
  84. public java.lang.Object read_abstract_interface(java.lang.Class clz) {
  85. throw new org.omg.CORBA.NO_IMPLEMENT();
  86. }
  87. }