atlas.idl

来自「MICO2.3.13 corba 环境平台」· IDL 代码 · 共 77 行

IDL
77
字号
// File: ATLAS.idl#ifndef _ATLAS_IDL_#define _ATLAS_IDL_#include <coss/CosTime.idl>//#include <coss/CosNaming.idl>#include <mico/security/csi.idl>#include <mico/security/csiiop.idl>#pragma prefix "omg.org"module ATLAS {    typedef sequence<TimeBase::UtcT,1> ExpiryTime;    typedef sequence<CSI::IdentityToken,1> IdTokenOption;    struct AuthTokenData {	IdTokenOption ident_token;	CSI::AuthorizationToken auth_token;	ExpiryTime expiry_time;    };    exception IllegalTokenRequest {	unsigned long the_errnum;	string the_reason;    };    exception TokenOkay {    };    interface AuthTokenDispenser {        AuthTokenData get_my_authorization_token()            raises (IllegalTokenRequest);        AuthTokenData translate_authorization_token	(in CSI::IdentityToken the_subject,	 in CSI::AuthorizationToken the_token)	    raises (IllegalTokenRequest, TokenOkay);    };//      struct CosNamingLocator {//          CosNaming::NamingContext name_service;//          CosNaming::Name the_name;//      };            //    // This type specifies a string encoded in UTF-8 form [IETF RFC 2044].    //    typedef sequence<octet> UTF8String;    //      typedef CosNaming::NamingContextExt::URLString URLocator;        typedef unsigned long ATLASLocatorType;    const ATLASLocatorType ATLASCosNaming = 1;    const ATLASLocatorType ATLASURL = 2;    const ATLASLocatorType ATLASObject = 3;    union ATLASLocator switch (ATLASLocatorType) {//          case ATLASCosNaming: CosNamingLocator   naming_locator;//          case ATLASURL:       URLocator          the_url;        case ATLASObject:    AuthTokenDispenser the_dispenser;    };    typedef sequence<octet> ATLASCacheId;    struct ATLASProfile {	ATLASLocator the_locator;	ATLASCacheId the_cache_id;    };   const CSIIOP::ServiceConfigurationSyntax SCS_ATLAS = 3;};#endif // _ATLAS_IDL_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?