OpenTP1 Version 7 Programming Reference C Language
Interface definition header
Format
[ [interface_attribute,...] ] interface interface_name
|
Meaning
The interface definition header defines the interface name and its attributes.
Specification item
interface_attribute
Defines interface attributes. The following attribute values can be specified:
- version:
Specifies the interface version.
- pointer_default:
Specifies the pointer semantics of the default value.
- transaction_mandatory:
Specifies that the transaction must be expanded.
- transaction_optional:
Specifies that the transaction is expanded for transaction processing.
The transaction_mandatory and transaction_optional attributes cannot be specified at the same time. Specify only one of them.
OpenTP1 IDL-only TxRPC restrictions
- Only one interface can be defined for one server.
- Specifying the uuid attribute is unnecessary. No error occurs even if the uuid attribute is specified. An error occurs, however, if the uuid attribute format is not conformed.
- The local attribute cannot be used. If used, an error occurs.
- The endpoint attribute cannot be used. If used, an error occurs.
- The transaction_mandatory and transaction_optional attributes are valid only if communicating processes are both ndce processes.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.