1. /*
  2. * @(#)BindingHolder.java 1.10 00/02/02
  3. *
  4. * Copyright 1997-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. * File: ./org/omg/CosNaming/BindingHolder.java
  12. * From: nameservice.idl
  13. * Date: Tue Aug 11 03:12:09 1998
  14. * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
  15. */
  16. package org.omg.CosNaming;
  17. public final class BindingHolder
  18. implements org.omg.CORBA.portable.Streamable{
  19. // instance variable
  20. public org.omg.CosNaming.Binding value;
  21. // constructors
  22. public BindingHolder() {
  23. this(null);
  24. }
  25. public BindingHolder(org.omg.CosNaming.Binding __arg) {
  26. value = __arg;
  27. }
  28. public void _write(org.omg.CORBA.portable.OutputStream out) {
  29. org.omg.CosNaming.BindingHelper.write(out, value);
  30. }
  31. public void _read(org.omg.CORBA.portable.InputStream in) {
  32. value = org.omg.CosNaming.BindingHelper.read(in);
  33. }
  34. public org.omg.CORBA.TypeCode _type() {
  35. return org.omg.CosNaming.BindingHelper.type();
  36. }
  37. }