1. package org.omg.IOP;
  2. /**
  3. * org/omg/IOP/TaggedProfileHolder.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/IOP.idl
  6. * Monday, February 23, 2004 7:03:03 AM GMT
  7. */
  8. /**
  9. * Object references have at least one tagged profile. Each profile
  10. * supports one or more protocols and encapsulates all the basic
  11. * information the protocols it supports need to identify an object.
  12. * Any single profile holds enough information to drive a complete
  13. * invocation using any of the protocols it supports; the content
  14. * and structure of those profile entries are wholly specified by
  15. * these protocols.
  16. */
  17. public final class TaggedProfileHolder implements org.omg.CORBA.portable.Streamable
  18. {
  19. public org.omg.IOP.TaggedProfile value = null;
  20. public TaggedProfileHolder ()
  21. {
  22. }
  23. public TaggedProfileHolder (org.omg.IOP.TaggedProfile initialValue)
  24. {
  25. value = initialValue;
  26. }
  27. public void _read (org.omg.CORBA.portable.InputStream i)
  28. {
  29. value = org.omg.IOP.TaggedProfileHelper.read (i);
  30. }
  31. public void _write (org.omg.CORBA.portable.OutputStream o)
  32. {
  33. org.omg.IOP.TaggedProfileHelper.write (o, value);
  34. }
  35. public org.omg.CORBA.TypeCode _type ()
  36. {
  37. return org.omg.IOP.TaggedProfileHelper.type ();
  38. }
  39. }