Table of Contents Previous Next
Logo
Slice Metadata Directives : B.1 General Metadata Directives
Copyright © 2003-2010 ZeroC, Inc.

B.1 General Metadata Directives

ami

This directives applies to interfaces, classes, and individual operations. It enables code generation for asynchronous method invocation, described in Appendix K.
Note: This directive applies to the deprecated AMI mapping described in Appendix K. For the new AMI mapping there is no need for this directive.

amd

This directive applies to interfaces, classes, and individual operations. It enables code generation for asynchronous method dispatch. (See the relevant language mapping chapter for details.)

deprecated

This directive allows you to emit a deprecation warning for Slice constructs. See Section 4.19 for more detail.

protected

This directive applies to data members of classes and changes code generation to make these members protected. See class mapping of the relevant language mapping chapter for more information.

UserException

This directive applies only to operations on local interfaces. The metadata direc­tive indicates that the operation can throw any user exception, regardless of its specific definition. (This directive is used for the locate and finished operations on servant locators, which can throw any user exception.)

Table of Contents Previous Next
Logo