OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
17.7.6 The local Attribute
The local attribute indicates that an interface definition does not declare any remote
operations and that the IDL compiler should therefore generate only header files, not stub
files. The local attribute takes the following form:
local
An interface containing operation definitions must have either the local attribute or the
uuid attribute. No interface can have both.
The local attribute can appear at most once in an interface.
17.7.7 Rules for Using Interface Definition Header Attributes
An interface cannot have both the local attribute and the uuid attribute. In an interface
definition that contains any operation declarations, either local or uuid must be specified.
In an interface definition that contains no operation declarations, both local and uuid can
be omitted.
The local, uuid, and version attributes cannot be coded more than once. If the endpoint
or the pointer_default attribute is coded more than once, the IDL compiler issues a
warning and, where conflicts exist, the IDL compiler accepts the last value specified.
17.7.8 Examples of Interface Definition Header Attributes
The following example uses the uuid and version attributes:
[uuid(df961f80-2d24-11c9-be74-08002b0ecef1), version(1.1)]
interface my_interface_name
The following example uses the uuid, endpoint, and version attributes:
[uuid(0bb1a080-2d25-11c9-8d6e-08002b0ecef1),
endpoint("ncacn_ip_tcp:[1025]", "ncacn_ip_tcp:[6677]"),
version(3.2)]
interface my_interface_name
17 − 12 Tandem Computers Incorporated 124245