1. /*
  2. * @(#)OctetSeqHolder.java 1.6 00/02/02
  3. *
  4. * Copyright 1999, 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. package org.omg.CORBA;
  11. /**
  12. * org/omg/CORBA/OctetSeqHolder.java
  13. * Generated by the IDL-to-Java compiler (portable), version "3.0"
  14. * from streams.idl
  15. * 13 May 1999 22:41:36 o'clock GMT+00:00
  16. */
  17. public final class OctetSeqHolder implements org.omg.CORBA.portable.Streamable
  18. {
  19. public byte value[] = null;
  20. public OctetSeqHolder ()
  21. {
  22. }
  23. public OctetSeqHolder (byte[] initialValue)
  24. {
  25. value = initialValue;
  26. }
  27. public void _read (org.omg.CORBA.portable.InputStream i)
  28. {
  29. value = org.omg.CORBA.OctetSeqHelper.read (i);
  30. }
  31. public void _write (org.omg.CORBA.portable.OutputStream o)
  32. {
  33. org.omg.CORBA.OctetSeqHelper.write (o, value);
  34. }
  35. public org.omg.CORBA.TypeCode _type ()
  36. {
  37. return org.omg.CORBA.OctetSeqHelper.type ();
  38. }
  39. }