1. package org.omg.IOP;
  2. /**
  3. * org/omg/IOP/TaggedComponent.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. * <code>TaggedComponents</code> contained in
  10. * <code>TAG_INTERNET_IOP</code> and
  11. * <code>TAG_MULTIPLE_COMPONENTS</code> profiles are identified by
  12. * unique numeric tags using a namespace distinct form that is used for
  13. * profile tags. Component tags are assigned by the OMG.
  14. * <p>
  15. * Specifications of components must include the following information:
  16. * <ul>
  17. * <li><i>Component ID</i>: The compound tag that is obtained
  18. * from OMG.</li>
  19. * <li><i>Structure and encoding</i>: The syntax of the component
  20. * data and the encoding rules. If the component value is
  21. * encoded as a CDR encapsulation, the IDL type that is
  22. * encapsulated and the GIOP version which is used for encoding
  23. * the value, if different than GIOP 1.0, must be specified as
  24. * part of the component definition.</li>
  25. * <li><i>Semantics</i>: How the component data is intended to be
  26. * used.</li>
  27. * <li><i>Protocols</i>: The protocol for which the component is
  28. * defined, and whether it is intended that the component be
  29. * usable by other protocols.</li>
  30. * <li><i>At most once</i>: whether more than one instance of this
  31. * component can be included in a profile.</li>
  32. * </ul>
  33. * Specification of protocols must describe how the components affect
  34. * the protocol. The following should be specified in any protocol
  35. * definition for each <code>TaggedComponent</code> that the protocol uses:
  36. * <ul>
  37. * <li><i>Mandatory presence</i>: Whether inclusion of the component
  38. * in profiles supporting the protocol is required (MANDATORY
  39. * PRESENCE) or not required (OPTIONAL PRESENCE).</li>
  40. * <li><i>Droppable</i>: For optional presence component, whether
  41. * component, if present, must be retained or may be dropped.</li>
  42. * </ul>
  43. */
  44. public final class TaggedComponent implements org.omg.CORBA.portable.IDLEntity
  45. {
  46. /** The tag, represented as a component id. */
  47. public int tag = (int)0;
  48. /** The component data associated with the component id. */
  49. public byte component_data[] = null;
  50. public TaggedComponent ()
  51. {
  52. } // ctor
  53. public TaggedComponent (int _tag, byte[] _component_data)
  54. {
  55. tag = _tag;
  56. component_data = _component_data;
  57. } // ctor
  58. } // class TaggedComponent