Interface CosTradingRepos::ServiceTypeRepository

IDL source    Global index
interface ServiceTypeRepository


Attribute index.

  • incarnation
  • Operation index.

  • add_type
  • describe_type
  • fully_describe_type
  • list_types
  • mask_type
  • remove_type
  • unmask_type
  • Type index.

  • Identifier
  • IncarnationNumber
  • ListOption
  • PropertyMode
  • PropStruct
  • PropStructSeq
  • ServiceTypeNameSeq
  • SpecifiedServiceTypes
  • TypeStruct
  • Exception index.

  • AlreadyMasked
  • DuplicateServiceTypeName
  • HasSubTypes
  • InterfaceTypeMismatch
  • NotMasked
  • ServiceTypeExists
  • ValueTypeRedefinition
  • Attributes.

  • incarnation

      readonly attribute IncarnationNumber incarnation;

    Operations.

  • add_type

      IncarnationNumber add_type(in CosTrading::ServiceTypeName name,
          in Identifier if_name,
          in PropStructSeq props,
          in ServiceTypeNameSeq super_types)
        raises(CosTrading::IllegalServiceType, ServiceTypeExists, InterfaceTypeMismatch, CosTrading::IllegalPropertyName, CosTrading::DuplicatePropertyName, ValueTypeRedefinition, CosTrading::UnknownServiceType, DuplicateServiceTypeName);

  • describe_type

      TypeStruct describe_type(in CosTrading::ServiceTypeName name)
        raises(CosTrading::IllegalServiceType, CosTrading::UnknownServiceType);

  • fully_describe_type

      TypeStruct fully_describe_type(in CosTrading::ServiceTypeName name)
        raises(CosTrading::IllegalServiceType, CosTrading::UnknownServiceType);

  • list_types

      ServiceTypeNameSeq list_types(in SpecifiedServiceTypes which_types);

  • mask_type

      void mask_type(in CosTrading::ServiceTypeName name)
        raises(CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, AlreadyMasked);

  • remove_type

      void remove_type(in CosTrading::ServiceTypeName name)
        raises(CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, HasSubTypes);

  • unmask_type

      void unmask_type(in CosTrading::ServiceTypeName name)
        raises(CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, NotMasked);

    Types.

  • Identifier

      typedef CosTrading::Istring Identifier;
    

  • IncarnationNumber

      struct IncarnationNumber {
        unsigned long high; 
        unsigned long low; 
      }; 
    

  • ListOption

      enum ListOption {
        all, 
        since
      }; 
    

  • PropertyMode

      enum PropertyMode {
        PROP_NORMAL, 
        PROP_READONLY, 
        PROP_MANDATORY, 
        PROP_MANDATORY_READONLY
      }; 
    

  • PropStruct

      struct PropStruct {
        CosTrading::PropertyName name; 
        CORBA::TypeCode value_type; 
        PropertyMode mode; 
      }; 
    

  • PropStructSeq

      typedef sequence<PropStruct> PropStructSeq;
    

  • ServiceTypeNameSeq

      typedef sequence<CosTrading::ServiceTypeName> ServiceTypeNameSeq;
    

  • SpecifiedServiceTypes

      union SpecifiedServiceTypes switch (ListOption) {
        case 1: IncarnationNumber incarnation;
      }

  • TypeStruct

      struct TypeStruct {
        Identifier if_name; 
        PropStructSeq props; 
        ServiceTypeNameSeq super_types; 
        boolean masked; 
        IncarnationNumber incarnation; 
      }; 
    

    Exceptions.

  • AlreadyMasked

      exception AlreadyMasked {
        CosTrading::ServiceTypeName name; 
      }; 
    

  • DuplicateServiceTypeName

      exception DuplicateServiceTypeName {
        CosTrading::ServiceTypeName name; 
      }; 
    

  • HasSubTypes

      exception HasSubTypes {
        CosTrading::ServiceTypeName the_type; 
        CosTrading::ServiceTypeName sub_type; 
      }; 
    

  • InterfaceTypeMismatch

      exception InterfaceTypeMismatch {
        CosTrading::ServiceTypeName base_service; 
        Identifier base_if; 
        CosTrading::ServiceTypeName derived_service; 
        Identifier derived_if; 
      }; 
    

  • NotMasked

      exception NotMasked {
        CosTrading::ServiceTypeName name; 
      }; 
    

  • ServiceTypeExists

      exception ServiceTypeExists {
        CosTrading::ServiceTypeName name; 
      }; 
    

  • ValueTypeRedefinition

      exception ValueTypeRedefinition {
        CosTrading::ServiceTypeName type_1; 
        PropStruct definition_1; 
        CosTrading::ServiceTypeName type_2; 
        PropStruct definition_2; 
      }; 
    


    Generated by Sandia idldoc 1.0.