Exemplo n.º 1
0
  /**
   * Returns the TypeCode associated with this DynAny object. A DynAny object is created with a
   * TypeCode value assigned to it. This TypeCode value determines the type of the value handled
   * through the DynAny object. Note that the TypeCode associated with a DynAny object is
   * initialized at the time the DynAny is created and cannot be changed during lifetime of the
   * DynAny object.
   *
   * @return The TypeCode associated with this DynAny object
   */
  public org.omg.CORBA.TypeCode type() {
    org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke("type", _opsClass);
    DynFixedOperations $self = (DynFixedOperations) $so.servant;

    try {
      return $self.type();
    } finally {
      _servant_postinvoke($so);
    }
  } // type