home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / ORACLEAD.Z / OracleContext.h < prev    next >
Encoding:
Text File  |  1996-09-09  |  977 b   |  38 lines

  1. // OracleContext.h 
  2. // Copyright (c) 1994, NeXT Software, Inc.  All rights reserved.
  3.  
  4. #import <EOAccess/EOAccess.h>
  5.  
  6. @class OracleAdaptor;
  7. @class OracleChannel;
  8.  
  9. @interface OracleContext:EOAdaptorContext
  10. {
  11.     void *_lda;
  12.     unsigned char _hda[256];
  13.     unsigned short _fetchesInProgress;
  14.     unsigned short _openCursors;
  15.     BOOL _connected;
  16. }
  17.  
  18. - initWithOracleAdaptor:(OracleAdaptor *)adaptor;
  19.  
  20. - (void *)logonDataArea;
  21. - (unsigned char *)hostDataArea;
  22.     // These return NULL if the context is not connected.
  23.     
  24. - (unsigned)fetchesInProgress;
  25.  
  26. - (void)connect;
  27. - (void)disconnect;
  28. - (BOOL)isConnected;
  29.     // Used internally by the adaptor and channel.
  30.  
  31. - (BOOL)oracleChannelWillBeginFetching:(OracleChannel *)cursor;
  32. - (void)oracleChannelDidEndFetching:(OracleChannel *)cursor;
  33. - (void)oracleChannelWillOpen:(OracleChannel *)cursor;
  34. - (void)oracleChannelDidClose:(OracleChannel *)cursor;
  35.     // Methods to notify the OracleContext of changes in the OracleChannel
  36. @end
  37.  
  38.