麻烦帮我翻译下这篇文章

来源:百度知道 编辑:UC知道 时间:2024/06/25 16:39:25
Server-Side Mapping
Server-side mapping refers to the portability constraints for an object implementation written in C++ The term server is not meant to restrict implementations to situations in which method invocations cross address space or machine boundaries. This mapping addresses any implementation of an OMG IDL interface.
The required functionality for a server described here is probably a subset of the functionality an implementor will actually need. As a consequence, in practice, few servers will be completely compliant. However, we expect most of the server code to be portable from one ORB implementation to another. In particular, the body of an operation implementation will usually comply with this mapping.
18.1 Implementing Interfaces
To define an implementation in C++, one defines a C++ class with any valid C++ name. For each operation in the interface, the class defines a nonstatic member function with the mapped name of the operation (the mapped name

服务器端绘图
服务器端映射指便携限制对象执行书面在C + +的任期服务器并不意味着限制的实施情况,在该方法调用跨地址空间或机器的界限。这个映射的地址任何执行03 IDL编译器接口。
要求的功能服务器描述这里可能是一个子功能的执行者将实际需要。因此,在实践中,一些服务器将完全兼容。然而,我们期望大多数服务器代码便携式从一个到另一个的ORB实施。特别是,该机构的运作执行通常会遵守这一映射。
1月18日实施接口
确定一个执行C + +中,一个定义了一个C + +类与任何有效的C + +的名字。每一个行动中的接口,类定义了一个非静态成员函数的名称与对应的运作(映射名称是一样的03接口标识符时除外标识符是一个C + +中的关键字,在这种情况下,一个
下划线('_')是prepended的标识符,正如科1月16日,初步
信息) 。请注意,可允许的ORB执行一个实现类源于另一个,所以有“类定义了一个成员函数”并不意味着类必须明确界定了会员功能,它可以inheit的
函数映射并未具体说明如何执行类是与任何其他类别,包括生成的类的接口。这种方法允许实施,使用继承或代表团和其他功能包括从米纳斯执行(如选择一个默认的运输代表性) 。这些例子在本章提供样品确定实施方案
班。基于CORBA兼容的实现并不需要使用这些替代品