smi.idl

来自「《移动Agent技术》一书的所有章节源代码。」· IDL 代码 · 共 83 行

IDL
83
字号
/*MobiliTools, v1.0 Copyright (c) 2000 France T閘閏om R&D. All Rights Reserved.This software is the confidential and proprietary information of FranceT閘閏om. You shall use it only in accordance with the terms of the license agreement you entered into with France T閘閏om.FRANCE T蒐蒀OM MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THEIMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. FRANCE T蒐蒀OM SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.*//*CORBA IDL definitions for the Simple MASIF Implementation. Extends OMG's MASIF.author: Bruno Dillensegerdate: 30-XI-2000*/#include "masif.idl"module mobilitools{module smi{module idl{struct SMIProperty{	string name;	string value;};typedef sequence<SMIProperty> SMIPropertyList;exception AgentSystemNotFound {};exception AgentRefusedToMove {};exception AgentRefusedToClone {};interface MAFAgentSystemComplement : ::org::omg::CfMAF::MAFAgentSystem{	::org::omg::CfMAF::NameList list_agents(in ::org::omg::CfMAF::AgentProfile profile);	void move_agent(		in ::org::omg::CfMAF::Name name,		in ::org::omg::CfMAF::Location destination,		in string place)		raises (			::org::omg::CfMAF::AgentNotFound,			::org::omg::CfMAF::ClassUnknown,			::org::omg::CfMAF::DeserializationFailed,			::org::omg::CfMAF::MAFExtendedException,			AgentSystemNotFound,			::org::omg::CfMAF::ArgumentInvalid,			AgentRefusedToMove);	void clone_agent(		in ::org::omg::CfMAF::Name name,		in ::org::omg::CfMAF::Name clone,		in ::org::omg::CfMAF::Arguments arguments)		raises (			::org::omg::CfMAF::AgentNotFound,			::org::omg::CfMAF::ArgumentInvalid,			AgentRefusedToClone);};interface MAFFinderComplement : ::org::omg::CfMAF::MAFFinder{	::org::omg::CfMAF::NameList lookup_agent_names(in ::org::omg::CfMAF::AgentProfile profile);    ::org::omg::CfMAF::AgentProfile get_agent_profile(in ::org::omg::CfMAF::Name name)		raises (::org::omg::CfMAF::AgentNotFound);};};};};

⌨️ 快捷键说明

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