SocketRepository.h 884 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_CORBA_SocketRepository__
  3. #define __gnu_CORBA_SocketRepository__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace CORBA
  11. {
  12. class SocketRepository;
  13. }
  14. }
  15. namespace java
  16. {
  17. namespace net
  18. {
  19. class Socket;
  20. }
  21. }
  22. }
  23. class gnu::CORBA::SocketRepository : public ::java::lang::Object
  24. {
  25. public:
  26. SocketRepository();
  27. static void put_socket(::java::lang::Object *, ::java::net::Socket *);
  28. private:
  29. static void gc();
  30. public: // actually package-private
  31. static jboolean not_reusable(::java::net::Socket *);
  32. public:
  33. static ::java::net::Socket * get_socket(::java::lang::Object *);
  34. private:
  35. static ::java::util::HashMap * sockets;
  36. public:
  37. static ::java::lang::Class class$;
  38. };
  39. #endif // __gnu_CORBA_SocketRepository__