home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / MSSGINTB.IDL < prev    next >
Text File  |  1995-12-13  |  3KB  |  93 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15.  
  16. #ifndef _MSSGINTB_
  17. #define _MSSGINTB_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes defined in this interface
  25. //==============================================================================
  26.  
  27. interface  ODBaseMessageInterface;
  28.  
  29. //==============================================================================
  30. // Classes used by this interface
  31. //==============================================================================
  32.  
  33. interface  ODPart;
  34. interface  ODShape;
  35. interface  ODSession;
  36. interface  ODNameResolver;
  37. interface  ODDesc;
  38. interface  ODOSLToken;
  39. interface  ODOSAEvent;
  40. interface  ODAddressDesc;
  41. interface  ODObjectSpec;
  42.  
  43. //==============================================================================
  44. // ODMessageInterface
  45. //==============================================================================
  46.  
  47. interface ODBaseMessageInterface :  ODObject
  48. {
  49.  
  50.    void CreatePartAddrDesc(out  ODAddressDesc  theAddressDesc,
  51.               in    ODPart      part);
  52.  
  53.    void CreatePartObjSpec(out  ODObjectSpec  theObjSpec,
  54.               in  ODPart      thePart);
  55.  
  56.    ODSShort      CreateEvent(in     ODEventClass  theAEEventClass,
  57.                 in    ODEventID    theAEEventID,
  58.                 in    ODAddressDesc  target,
  59.                 in    ODSLong      transactionID,
  60.                 out   ODOSAEvent  result);
  61.  
  62.    void        Send(in    ODFrame        toFrame,
  63.                     in    ODPart         fromPart,
  64.                     in    ODOSAEvent     theOSAEvent,
  65.                     in    ODOSAEvent     reply,
  66.                     in    ODSendMode     sendMode,
  67.                     in    ODSendPriority sendPriority,
  68.                     in    ODULong        timeOutInTicks);
  69.  
  70.    ODBoolean  ProcessSemanticEvent(in ODEventData theEvent);
  71.  
  72. #ifdef __SOMIDL__
  73.   implementation
  74.   {
  75.       functionprefix = ODBaseMessageInterface;
  76.  
  77.     override:
  78.       somInit,
  79.       somUninit,
  80.       Purge;
  81.     releaseorder:
  82.       InitBaseMessageInterface,
  83.       CreateEvent,
  84.       CreatePartAddrDesc,
  85.       CreatePartObjSpec,
  86.       Send,
  87.       ProcessSemanticEvent;
  88.   };
  89. #endif
  90. };
  91.  
  92. #endif // _MSSGINTB_
  93.