home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Connectivity / GateKeeper-2.1 / DOserver.h < prev    next >
Encoding:
Text File  |  1997-02-28  |  1.5 KB  |  61 lines

  1. //************************************************************************
  2. //
  3. //    DOserver.h.  
  4. //
  5. //        Distributed Objects server which communicates with MODEM tool
  6. //        during Manual dial.
  7. //
  8. //            by    Felipe A. Rodriguez        
  9. //
  10. //    This code is supplied "as is" the author makes no warranty as to its 
  11. //    suitability for any purpose.  This code is free and may be distributed 
  12. //    in accordance with the terms of the:
  13. //        
  14. //            GNU GENERAL PUBLIC LICENSE
  15. //            Version 2, June 1991
  16. //            copyright (C) 1989, 1991 Free Software Foundation, Inc.
  17. //             675 Mass Ave, Cambridge, MA 02139, USA
  18. //
  19. //************************************************************************
  20.  
  21.  
  22. #import <appkit/appkit.h>
  23.  
  24. @interface DOserver:Object <NXSenderIsInvalid>
  25. {
  26.     id  phoneNumField;
  27.     id  gateToolProxy;            // distributed objects proxy for the GateTool
  28.     id  delegate;
  29.     id  gatePanel;                /* The Gate Tool panel */
  30.     id  theInspector;            /* The Gate Tool panel */
  31.     BOOL connecting;            // Yes if we are starting pppd 
  32.     char Path[MAXPATHLEN + 1];    // generic buffer to hold paths
  33.     id  theOptionsEditor;
  34.     BOOL shouldExit;            // whether MODEM should exit 
  35. }
  36.  
  37. - senderIsInvalid:sender; 
  38. - showDialPanel; 
  39. - Dial:sender;  
  40. - cancelDial:sender;  
  41. - hangUp:sender;  
  42. - activateGateKeeper;  
  43. - Attach:sender;  
  44. - setDelegate:anObject;
  45. - (const char *)modemInit;
  46. - (const char *)modemPort;  
  47. - (const char *)modemSpeed;  
  48. - (BOOL)shouldExit; 
  49.  
  50.  
  51. @end
  52. @protocol serverProtocol
  53.  
  54. - writePty:(char *)buffer;
  55. - (void)enScript:(char *)buffer;
  56. - setPty:(int)pty;
  57. - unlockSerialPort;
  58.  
  59. @end
  60.  
  61.