home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / servmgr.idl < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.5 KB  |  66 lines

  1. //
  2. //   COMPONENT_NAME: somd
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  8. //   All Rights Reserved
  9. //   Licensed Materials - Property of IBM
  10. //   US Government Users Restricted Rights - Use, duplication or
  11. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. //
  13.  
  14. //
  15. // IBM Confidential. (IBM Confidential - Restricted when combined with
  16. //                    the aggregate OCO source module for this program.)
  17. //
  18. // OCO Source Materials
  19.  
  20.  
  21. #ifndef servmgr_idl
  22. #define servmgr_idl
  23.  
  24. #include <somobj.idl>
  25. #include <somdtype.idl>
  26.  
  27. interface ImplementationDef;
  28.  
  29. interface SOMDServerMgr : SOMObject
  30. {
  31.  
  32.   ORBStatus somdShutdownServer(in string server_alias);
  33.  
  34.   ORBStatus somdStartServer(in string server_alias);
  35.  
  36.   ORBStatus somdRestartServer(in string server_alias);
  37.  
  38.   ORBStatus somdListServer(in string server_alias);
  39.  
  40.   ORBStatus somdDisableServer(in string server_alias);
  41.  
  42.   ORBStatus somdEnableServer(in string server_alias);
  43.  
  44.   boolean  somdIsServerEnabled(in ImplementationDef impldef);
  45.  
  46. #ifdef __SOMIDL__
  47.  
  48.   implementation
  49.   {
  50.     releaseorder: somdShutdownServer, somdStartServer, somdRestartServer,
  51.           somdListServer, somdDisableServer, somdEnableServer, 
  52.               somdIsServerEnabled;
  53.  
  54.     callstyle = idl;
  55.     dllname = "somd.dll";
  56.     majorversion = 2;
  57.     minorversion = 1;
  58.  
  59.   };
  60.  
  61. #endif /* __SOMIDL__ */
  62.  
  63. };
  64.  
  65. #endif  /* servmgr_idl */
  66.