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