PooledConnection.h 875 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_sql_PooledConnection__
  3. #define __javax_sql_PooledConnection__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace sql
  11. {
  12. class Connection;
  13. }
  14. }
  15. namespace javax
  16. {
  17. namespace sql
  18. {
  19. class ConnectionEventListener;
  20. class PooledConnection;
  21. }
  22. }
  23. }
  24. class javax::sql::PooledConnection : public ::java::lang::Object
  25. {
  26. public:
  27. virtual ::java::sql::Connection * getConnection() = 0;
  28. virtual void close() = 0;
  29. virtual void addConnectionEventListener(::javax::sql::ConnectionEventListener *) = 0;
  30. virtual void removeConnectionEventListener(::javax::sql::ConnectionEventListener *) = 0;
  31. static ::java::lang::Class class$;
  32. } __attribute__ ((java_interface));
  33. #endif // __javax_sql_PooledConnection__