SocketImpl.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_net_SocketImpl__
  3. #define __java_net_SocketImpl__
  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 SocketAddress;
  14. class SocketImpl;
  15. }
  16. }
  17. }
  18. class java::net::SocketImpl : public ::java::lang::Object
  19. {
  20. public:
  21. SocketImpl();
  22. public: // actually protected
  23. virtual void create(jboolean) = 0;
  24. virtual void connect(::java::lang::String *, jint) = 0;
  25. virtual void connect(::java::net::InetAddress *, jint) = 0;
  26. virtual void connect(::java::net::SocketAddress *, jint) = 0;
  27. virtual void bind(::java::net::InetAddress *, jint) = 0;
  28. virtual void listen(jint) = 0;
  29. virtual void accept(::java::net::SocketImpl *) = 0;
  30. virtual ::java::io::InputStream * getInputStream() = 0;
  31. virtual ::java::io::OutputStream * getOutputStream() = 0;
  32. virtual jint available() = 0;
  33. virtual void close() = 0;
  34. virtual ::java::io::FileDescriptor * getFileDescriptor();
  35. virtual ::java::net::InetAddress * getInetAddress();
  36. virtual jint getPort();
  37. virtual jboolean supportsUrgentData();
  38. virtual void sendUrgentData(jint) = 0;
  39. virtual jint getLocalPort();
  40. public:
  41. virtual ::java::lang::String * toString();
  42. public: // actually protected
  43. virtual void shutdownInput();
  44. virtual void shutdownOutput();
  45. public:
  46. virtual void setOption(jint, ::java::lang::Object *) = 0;
  47. virtual ::java::lang::Object * getOption(jint) = 0;
  48. public: // actually protected
  49. ::java::net::InetAddress * __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
  50. ::java::io::FileDescriptor * fd;
  51. jint localport;
  52. jint port;
  53. public:
  54. static ::java::lang::Class class$;
  55. };
  56. #endif // __java_net_SocketImpl__