# Skeletons for "CosPropertyService" # # This file was automatically generated with ILU (version 2.0alpha8) tools # at Mon Aug 26 09:59:52 1996 by `' # running "/usr/local/ilu20a8/bin/python-stubber" of Mon Aug 26 09:58:20 1996 # on "/coho/0/hassan/dldev/src/COS/ICosProperty/CosPropertyService.isl" of Mon Aug 12 12:34:40 1996, # and "/usr/local/ilu20a8/interfaces/ilu.isl" of Tue Jul 30 16:05:50 1996. # # ILU is Copyright 1991-1996 Xerox Corporation, All Rights Reserved. # ILU information: ftp://ftp.parc.xerox.com/pub/ilu/ilu.html. import sys; _imported_modules = {}; import CosPropertyService; _imported_modules['CosPropertyService'] = CosPropertyService; del CosPropertyService; import iluRt def _PropertiesIterator__reset(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertiesIterator) iluRt.RequestRead(_call) try: _self.reset() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + 0) iluRt.FinishReply(_call) def _PropertiesIterator__next_one(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertiesIterator) iluRt.RequestRead(_call) try: _result = _self.next_one() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result[0])\ + _imported_modules['CosPropertyService']._SizeOf_Property(_call, _result[1])) iluRt.OutputBoolean(_call, _result[0]) _imported_modules['CosPropertyService']._Output_Property(_call, _result[1]) iluRt.FinishReply(_call) def _PropertiesIterator__next_n(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertiesIterator) how_many = iluRt.InputCardinal(_call) iluRt.RequestRead(_call) try: _result = _self.next_n(how_many) except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result[0])\ + _imported_modules['CosPropertyService']._SizeOf_Properties(_call, _result[1])) iluRt.OutputBoolean(_call, _result[0]) _imported_modules['CosPropertyService']._Output_Properties(_call, _result[1]) iluRt.FinishReply(_call) def _PropertiesIterator__destroy(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertiesIterator) iluRt.RequestRead(_call) try: _self.destroy() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + 0) iluRt.FinishReply(_call) iluRt.RegisterSkeletons(_imported_modules['CosPropertyService'].PropertiesIterator._IluClass, (\ _PropertiesIterator__reset,\ _PropertiesIterator__next_one,\ _PropertiesIterator__next_n,\ _PropertiesIterator__destroy,)) class PropertiesIterator(iluRt.IluObjTrue): _IluClass = _imported_modules['CosPropertyService'].PropertiesIterator._IluClass def reset(_self): raise iluRt.IluUnimplementedMethodError, 'reset' def next_one(_self): raise iluRt.IluUnimplementedMethodError, 'next-one' def next_n(_self, how_many): raise iluRt.IluUnimplementedMethodError, 'next-n' def destroy(_self): raise iluRt.IluUnimplementedMethodError, 'destroy' def _PropertyNamesIterator__reset(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertyNamesIterator) iluRt.RequestRead(_call) try: _self.reset() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + 0) iluRt.FinishReply(_call) def _PropertyNamesIterator__next_one(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertyNamesIterator) iluRt.RequestRead(_call) try: _result = _self.next_one() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result[0])\ + iluRt.SizeOfString(_call, _result[1], 0)) iluRt.OutputBoolean(_call, _result[0]) iluRt.OutputString(_call, _result[1], 0) iluRt.FinishReply(_call) def _PropertyNamesIterator__next_n(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertyNamesIterator) how_many = iluRt.InputCardinal(_call) iluRt.RequestRead(_call) try: _result = _self.next_n(how_many) except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result[0])\ + _imported_modules['CosPropertyService']._SizeOf_PropertyNames(_call, _result[1])) iluRt.OutputBoolean(_call, _result[0]) _imported_modules['CosPropertyService']._Output_PropertyNames(_call, _result[1]) iluRt.FinishReply(_call) def _PropertyNamesIterator__destroy(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertyNamesIterator) iluRt.RequestRead(_call) try: _self.destroy() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + 0) iluRt.FinishReply(_call) iluRt.RegisterSkeletons(_imported_modules['CosPropertyService'].PropertyNamesIterator._IluClass, (\ _PropertyNamesIterator__reset,\ _PropertyNamesIterator__next_one,\ _PropertyNamesIterator__next_n,\ _PropertyNamesIterator__destroy,)) class PropertyNamesIterator(iluRt.IluObjTrue): _IluClass = _imported_modules['CosPropertyService'].PropertyNamesIterator._IluClass def reset(_self): raise iluRt.IluUnimplementedMethodError, 'reset' def next_one(_self): raise iluRt.IluUnimplementedMethodError, 'next-one' def next_n(_self, how_many): raise iluRt.IluUnimplementedMethodError, 'next-n' def destroy(_self): raise iluRt.IluUnimplementedMethodError, 'destroy' def _PropertySetDefFactory__create_propertysetdef(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDefFactory) iluRt.RequestRead(_call) try: _result = _self.create_propertysetdef() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySetDef)) iluRt.OutputObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySetDef) iluRt.FinishReply(_call) def _PropertySetDefFactory__create_constrained_propertysetdef(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDefFactory) allowed_property_types = _imported_modules['CosPropertyService']._Input_PropertyTypes(_call) allowed_property_defs = _imported_modules['CosPropertyService']._Input_PropertyDefs(_call) iluRt.RequestRead(_call) try: _result = _self.create_constrained_propertysetdef(allowed_property_types, allowed_property_defs) except _imported_modules['CosPropertyService'].ConstraintNotSupported: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + iluRt.SizeOfObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySetDef)) iluRt.OutputObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySetDef) iluRt.FinishReply(_call) def _PropertySetDefFactory__create_initial_propertysetdef(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDefFactory) initial_property_defs = _imported_modules['CosPropertyService']._Input_PropertyDefs(_call) iluRt.RequestRead(_call) try: _result = _self.create_initial_propertysetdef(initial_property_defs) except _imported_modules['CosPropertyService'].MultipleExceptions, _value: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \ _imported_modules['CosPropertyService']._SizeOf_R_MultipleExceptions(_call, _value)) _imported_modules['CosPropertyService']._Output_R_MultipleExceptions(_call, _value) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + iluRt.SizeOfObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySetDef)) iluRt.OutputObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySetDef) iluRt.FinishReply(_call) iluRt.RegisterSkeletons(_imported_modules['CosPropertyService'].PropertySetDefFactory._IluClass, (\ _PropertySetDefFactory__create_propertysetdef,\ _PropertySetDefFactory__create_constrained_propertysetdef,\ _PropertySetDefFactory__create_initial_propertysetdef,)) class PropertySetDefFactory(iluRt.IluObjTrue): _IluClass = _imported_modules['CosPropertyService'].PropertySetDefFactory._IluClass def create_propertysetdef(_self): raise iluRt.IluUnimplementedMethodError, 'create-propertysetdef' def create_constrained_propertysetdef(_self, allowed_property_types, allowed_property_defs): raise iluRt.IluUnimplementedMethodError, 'create-constrained-propertysetdef' def create_initial_propertysetdef(_self, initial_property_defs): raise iluRt.IluUnimplementedMethodError, 'create-initial-propertysetdef' def _PropertySet__define_property(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) property_name = iluRt.InputString(_call, 0) property_value = _imported_modules['CosPropertyService']._Input_Any(_call) iluRt.RequestRead(_call) try: _self.define_property(property_name, property_value) except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].ConflictingProperty: iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].UnsupportedTypeCode: iluRt.BeginException(_call, 3, iluRt.BeginSizingException(_call, 3) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].UnsupportedProperty: iluRt.BeginException(_call, 4, iluRt.BeginSizingException(_call, 4) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].ReadOnlyProperty: iluRt.BeginException(_call, 5, iluRt.BeginSizingException(_call, 5) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySet__define_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) nproperties = _imported_modules['CosPropertyService']._Input_Properties(_call) iluRt.RequestRead(_call) try: _self.define_properties(nproperties) except _imported_modules['CosPropertyService'].MultipleExceptions, _value: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \ _imported_modules['CosPropertyService']._SizeOf_R_MultipleExceptions(_call, _value)) _imported_modules['CosPropertyService']._Output_R_MultipleExceptions(_call, _value) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySet__get_number_of_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) iluRt.RequestRead(_call) try: _result = _self.get_number_of_properties() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfCardinal(_call, _result)) iluRt.OutputCardinal(_call, _result) iluRt.FinishReply(_call) def _PropertySet__get_all_property_names(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) how_many = iluRt.InputCardinal(_call) iluRt.RequestRead(_call) try: _result = _self.get_all_property_names(how_many) except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + _imported_modules['CosPropertyService']._SizeOf_PropertyNames(_call, _result[0])\ + iluRt.SizeOfObjectID(_call, _result[1], iluRt.FALSE, _imported_modules['CosPropertyService'].PropertyNamesIterator)) _imported_modules['CosPropertyService']._Output_PropertyNames(_call, _result[0]) iluRt.OutputObjectID(_call, _result[1], iluRt.FALSE, _imported_modules['CosPropertyService'].PropertyNamesIterator) iluRt.FinishReply(_call) def _PropertySet__get_property_value(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) property_name = iluRt.InputString(_call, 0) iluRt.RequestRead(_call) try: _result = _self.get_property_value(property_name) except _imported_modules['CosPropertyService'].PropertyNotFound: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + _imported_modules['CosPropertyService']._SizeOf_Any(_call, _result)) _imported_modules['CosPropertyService']._Output_Any(_call, _result) iluRt.FinishReply(_call) def _PropertySet__get_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) property_names = _imported_modules['CosPropertyService']._Input_PropertyNames(_call) iluRt.RequestRead(_call) try: _result = _self.get_properties(property_names) except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result[0])\ + _imported_modules['CosPropertyService']._SizeOf_Properties(_call, _result[1])) iluRt.OutputBoolean(_call, _result[0]) _imported_modules['CosPropertyService']._Output_Properties(_call, _result[1]) iluRt.FinishReply(_call) def _PropertySet__get_all_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) how_many = iluRt.InputCardinal(_call) iluRt.RequestRead(_call) try: _result = _self.get_all_properties(how_many) except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + _imported_modules['CosPropertyService']._SizeOf_Properties(_call, _result[0])\ + iluRt.SizeOfObjectID(_call, _result[1], iluRt.FALSE, _imported_modules['CosPropertyService'].PropertiesIterator)) _imported_modules['CosPropertyService']._Output_Properties(_call, _result[0]) iluRt.OutputObjectID(_call, _result[1], iluRt.FALSE, _imported_modules['CosPropertyService'].PropertiesIterator) iluRt.FinishReply(_call) def _PropertySet__delete_property(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) property_name = iluRt.InputString(_call, 0) iluRt.RequestRead(_call) try: _self.delete_property(property_name) except _imported_modules['CosPropertyService'].PropertyNotFound: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].FixedProperty: iluRt.BeginException(_call, 3, iluRt.BeginSizingException(_call, 3) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySet__delete_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) property_names = _imported_modules['CosPropertyService']._Input_PropertyNames(_call) iluRt.RequestRead(_call) try: _self.delete_properties(property_names) except _imported_modules['CosPropertyService'].MultipleExceptions, _value: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \ _imported_modules['CosPropertyService']._SizeOf_R_MultipleExceptions(_call, _value)) _imported_modules['CosPropertyService']._Output_R_MultipleExceptions(_call, _value) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySet__delete_all_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) iluRt.RequestRead(_call) try: _result = _self.delete_all_properties() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result)) iluRt.OutputBoolean(_call, _result) iluRt.FinishReply(_call) def _PropertySet__is_property_defined(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySet) property_name = iluRt.InputString(_call, 0) iluRt.RequestRead(_call) try: _result = _self.is_property_defined(property_name) except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + iluRt.SizeOfBoolean(_call, _result)) iluRt.OutputBoolean(_call, _result) iluRt.FinishReply(_call) iluRt.RegisterSkeletons(_imported_modules['CosPropertyService'].PropertySet._IluClass, (\ _PropertySet__define_property,\ _PropertySet__define_properties,\ _PropertySet__get_number_of_properties,\ _PropertySet__get_all_property_names,\ _PropertySet__get_property_value,\ _PropertySet__get_properties,\ _PropertySet__get_all_properties,\ _PropertySet__delete_property,\ _PropertySet__delete_properties,\ _PropertySet__delete_all_properties,\ _PropertySet__is_property_defined,)) class PropertySet(iluRt.IluObjTrue): _IluClass = _imported_modules['CosPropertyService'].PropertySet._IluClass def define_property(_self, property_name, property_value): raise iluRt.IluUnimplementedMethodError, 'define-property' def define_properties(_self, nproperties): raise iluRt.IluUnimplementedMethodError, 'define-properties' def get_number_of_properties(_self): raise iluRt.IluUnimplementedMethodError, 'get-number-of-properties' def get_all_property_names(_self, how_many): raise iluRt.IluUnimplementedMethodError, 'get-all-property-names' def get_property_value(_self, property_name): raise iluRt.IluUnimplementedMethodError, 'get-property-value' def get_properties(_self, property_names): raise iluRt.IluUnimplementedMethodError, 'get-properties' def get_all_properties(_self, how_many): raise iluRt.IluUnimplementedMethodError, 'get-all-properties' def delete_property(_self, property_name): raise iluRt.IluUnimplementedMethodError, 'delete-property' def delete_properties(_self, property_names): raise iluRt.IluUnimplementedMethodError, 'delete-properties' def delete_all_properties(_self): raise iluRt.IluUnimplementedMethodError, 'delete-all-properties' def is_property_defined(_self, property_name): raise iluRt.IluUnimplementedMethodError, 'is-property-defined' def _PropertySetDef__get_allowed_property_types(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) iluRt.RequestRead(_call) try: _result = _self.get_allowed_property_types() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + _imported_modules['CosPropertyService']._SizeOf_PropertyTypes(_call, _result)) _imported_modules['CosPropertyService']._Output_PropertyTypes(_call, _result) iluRt.FinishReply(_call) def _PropertySetDef__get_allowed_properties(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) iluRt.RequestRead(_call) try: _result = _self.get_allowed_properties() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + _imported_modules['CosPropertyService']._SizeOf_PropertyDefs(_call, _result)) _imported_modules['CosPropertyService']._Output_PropertyDefs(_call, _result) iluRt.FinishReply(_call) def _PropertySetDef__define_property_with_mode(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) property_name = iluRt.InputString(_call, 0) property_value = _imported_modules['CosPropertyService']._Input_Any(_call) property_mode = iluRt.InputEnum(_call) iluRt.RequestRead(_call) try: _self.define_property_with_mode(property_name, property_value, property_mode) except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].ConflictingProperty: iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].UnsupportedTypeCode: iluRt.BeginException(_call, 3, iluRt.BeginSizingException(_call, 3) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].UnsupportedProperty: iluRt.BeginException(_call, 4, iluRt.BeginSizingException(_call, 4) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].UnsupportedMode: iluRt.BeginException(_call, 5, iluRt.BeginSizingException(_call, 5) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].ReadOnlyProperty: iluRt.BeginException(_call, 6, iluRt.BeginSizingException(_call, 6) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySetDef__define_properties_with_modes(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) property_defs = _imported_modules['CosPropertyService']._Input_PropertyDefs(_call) iluRt.RequestRead(_call) try: _self.define_properties_with_modes(property_defs) except _imported_modules['CosPropertyService'].MultipleExceptions, _value: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \ _imported_modules['CosPropertyService']._SizeOf_R_MultipleExceptions(_call, _value)) _imported_modules['CosPropertyService']._Output_R_MultipleExceptions(_call, _value) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySetDef__get_property_mode(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) property_name = iluRt.InputString(_call, 0) iluRt.RequestRead(_call) try: _result = _self.get_property_mode(property_name) except _imported_modules['CosPropertyService'].PropertyNotFound: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + iluRt.SizeOfEnum(_call, _result)) iluRt.OutputEnum(_call, _result) iluRt.FinishReply(_call) def _PropertySetDef__get_property_modes(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) property_names = _imported_modules['CosPropertyService']._Input_PropertyNames(_call) iluRt.RequestRead(_call) try: _result = _self.get_property_modes(property_names) except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfBoolean(_call, _result[0])\ + _imported_modules['CosPropertyService']._SizeOf_PropertyModes(_call, _result[1])) iluRt.OutputBoolean(_call, _result[0]) _imported_modules['CosPropertyService']._Output_PropertyModes(_call, _result[1]) iluRt.FinishReply(_call) def _PropertySetDef__set_property_mode(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) property_name = iluRt.InputString(_call, 0) property_mode = iluRt.InputEnum(_call) iluRt.RequestRead(_call) try: _self.set_property_mode(property_name, property_mode) except _imported_modules['CosPropertyService'].InvalidPropertyName: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].PropertyNotFound: iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + 0) iluRt.FinishException(_call) return except _imported_modules['CosPropertyService'].UnsupportedMode: iluRt.BeginException(_call, 3, iluRt.BeginSizingException(_call, 3) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) def _PropertySetDef__set_property_modes(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetDef) property_modes = _imported_modules['CosPropertyService']._Input_PropertyModes(_call) iluRt.RequestRead(_call) try: _self.set_property_modes(property_modes) except _imported_modules['CosPropertyService'].MultipleExceptions, _value: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \ _imported_modules['CosPropertyService']._SizeOf_R_MultipleExceptions(_call, _value)) _imported_modules['CosPropertyService']._Output_R_MultipleExceptions(_call, _value) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + 0) iluRt.FinishReply(_call) iluRt.RegisterSkeletons(_imported_modules['CosPropertyService'].PropertySetDef._IluClass, (\ _PropertySetDef__get_allowed_property_types,\ _PropertySetDef__get_allowed_properties,\ _PropertySetDef__define_property_with_mode,\ _PropertySetDef__define_properties_with_modes,\ _PropertySetDef__get_property_mode,\ _PropertySetDef__get_property_modes,\ _PropertySetDef__set_property_mode,\ _PropertySetDef__set_property_modes,)) class PropertySetDef(iluRt.IluObjTrue): _IluClass = _imported_modules['CosPropertyService'].PropertySetDef._IluClass def get_allowed_property_types(_self): raise iluRt.IluUnimplementedMethodError, 'get-allowed-property-types' def get_allowed_properties(_self): raise iluRt.IluUnimplementedMethodError, 'get-allowed-properties' def define_property_with_mode(_self, property_name, property_value, property_mode): raise iluRt.IluUnimplementedMethodError, 'define-property-with-mode' def define_properties_with_modes(_self, property_defs): raise iluRt.IluUnimplementedMethodError, 'define-properties-with-modes' def get_property_mode(_self, property_name): raise iluRt.IluUnimplementedMethodError, 'get-property-mode' def get_property_modes(_self, property_names): raise iluRt.IluUnimplementedMethodError, 'get-property-modes' def set_property_mode(_self, property_name, property_mode): raise iluRt.IluUnimplementedMethodError, 'set-property-mode' def set_property_modes(_self, property_modes): raise iluRt.IluUnimplementedMethodError, 'set-property-modes' def _PropertySetFactory__create_propertyset(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetFactory) iluRt.RequestRead(_call) try: _result = _self.create_propertyset() except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySet)) iluRt.OutputObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySet) iluRt.FinishReply(_call) def _PropertySetFactory__create_constrained_propertyset(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetFactory) allowed_property_types = _imported_modules['CosPropertyService']._Input_PropertyTypes(_call) allowed_properties = _imported_modules['CosPropertyService']._Input_Properties(_call) iluRt.RequestRead(_call) try: _result = _self.create_constrained_propertyset(allowed_property_types, allowed_properties) except _imported_modules['CosPropertyService'].ConstraintNotSupported: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + 0) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + iluRt.SizeOfObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySet)) iluRt.OutputObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySet) iluRt.FinishReply(_call) def _PropertySetFactory__create_initial_propertyset(_call): _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['CosPropertyService'].PropertySetFactory) initial_properties = _imported_modules['CosPropertyService']._Input_Properties(_call) iluRt.RequestRead(_call) try: _result = _self.create_initial_propertyset(initial_properties) except _imported_modules['CosPropertyService'].MultipleExceptions, _value: iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \ _imported_modules['CosPropertyService']._SizeOf_R_MultipleExceptions(_call, _value)) _imported_modules['CosPropertyService']._Output_R_MultipleExceptions(_call, _value) iluRt.FinishException(_call) return except: iluRt.CaughtUnexpectedException(_call) iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + iluRt.SizeOfObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySet)) iluRt.OutputObjectID(_call, _result, iluRt.FALSE, _imported_modules['CosPropertyService'].PropertySet) iluRt.FinishReply(_call) iluRt.RegisterSkeletons(_imported_modules['CosPropertyService'].PropertySetFactory._IluClass, (\ _PropertySetFactory__create_propertyset,\ _PropertySetFactory__create_constrained_propertyset,\ _PropertySetFactory__create_initial_propertyset,)) class PropertySetFactory(iluRt.IluObjTrue): _IluClass = _imported_modules['CosPropertyService'].PropertySetFactory._IluClass def create_propertyset(_self): raise iluRt.IluUnimplementedMethodError, 'create-propertyset' def create_constrained_propertyset(_self, allowed_property_types, allowed_properties): raise iluRt.IluUnimplementedMethodError, 'create-constrained-propertyset' def create_initial_propertyset(_self, initial_properties): raise iluRt.IluUnimplementedMethodError, 'create-initial-propertyset'