home *** CD-ROM | disk | FTP | other *** search
- //
- // COMPONENT_NAME: somd
- //
- // ORIGINS: 27
- //
- //
- // 10H9767, 10H9769 (C) COPYRIGHT International Business Machines Corp. 1992,1994
- // All Rights Reserved
- // Licensed Materials - Property of IBM
- // US Government Users Restricted Rights - Use, duplication or
- // disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- //
-
- // Description
- // -----------
- // OMG Object Transaction Service initialization interface.
-
-
- #ifndef SOM_tsident_idl
- #define SOM_tsident_idl
-
- #include <somobj.idl>
- #include <snglicls.idl>
-
- // External references
- module TSPortability {
- interface Sender;
- interface Receiver;
- };
-
- interface TSIdentification : SOMObject
- {
- exception NotAvailable {};
- exception AlreadyIdentified {};
-
- void identify_sender(in TSPortability::Sender sender)
- raises (NotAvailable, AlreadyIdentified);
-
- void identify_receiver(in TSPortability::Receiver receiver)
- raises (NotAvailable, AlreadyIdentified);
-
- readonly attribute TSPortability::Sender sender;
- readonly attribute TSPortability::Receiver receiver;
- // The above attributes may be set to default Sender/Receiver objects
- // if "identify_sender" and "identify_receiver" have not been called.
- // The above attributes are set to NULL if the OTS is not available
- // or could not be initialized.
-
- #ifdef __SOMIDL__
- implementation
- {
- releaseorder: identify_sender, identify_receiver,
- _get_sender, _get_receiver;
- metaclass = SOMMSingleInstance;
- majorversion = 2;
- minorversion = 1;
- dllname = "somd.dll";
-
-
- };
- #endif /* __SOMIDL__ */
- };
-
- #endif /* SOM_tsident_idl */
-