SocketFactory.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_net_SocketFactory__
  3. #define __javax_net_SocketFactory__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace net
  11. {
  12. class InetAddress;
  13. class Socket;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace net
  19. {
  20. class SocketFactory;
  21. }
  22. }
  23. }
  24. class javax::net::SocketFactory : public ::java::lang::Object
  25. {
  26. public: // actually protected
  27. SocketFactory();
  28. public:
  29. static ::javax::net::SocketFactory * getDefault();
  30. virtual ::java::net::Socket * createSocket();
  31. virtual ::java::net::Socket * createSocket(::java::lang::String *, jint) = 0;
  32. virtual ::java::net::Socket * createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint) = 0;
  33. virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint) = 0;
  34. virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint) = 0;
  35. static ::java::lang::Class class$;
  36. };
  37. #endif // __javax_net_SocketFactory__