Exemplo n.º 1
0
  /**
   * Inserts a boolean value into the DynAny.
   *
   * @exception InvalidValue if this DynAny has components but has a current position of -1
   * @exception TypeMismatch if called on a DynAny whose current component itself has components
   */
  public void insert_boolean(boolean value)
      throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
          org.omg.DynamicAny.DynAnyPackage.InvalidValue {
    org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke("insert_boolean", _opsClass);
    DynFixedOperations $self = (DynFixedOperations) $so.servant;

    try {
      $self.insert_boolean(value);
    } finally {
      _servant_postinvoke($so);
    }
  } // insert_boolean