SocketOptions.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_net_SocketOptions__
  3. #define __java_net_SocketOptions__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace net
  11. {
  12. class SocketOptions;
  13. }
  14. }
  15. }
  16. class java::net::SocketOptions : public ::java::lang::Object
  17. {
  18. public:
  19. virtual void setOption(jint, ::java::lang::Object *) = 0;
  20. virtual ::java::lang::Object * getOption(jint) = 0;
  21. static const jint SO_KEEPALIVE = 8;
  22. static const jint SO_LINGER = 128;
  23. static const jint SO_TIMEOUT = 4102;
  24. static const jint SO_BINDADDR = 15;
  25. static const jint SO_SNDBUF = 4097;
  26. static const jint SO_RCVBUF = 4098;
  27. static const jint SO_REUSEADDR = 4;
  28. static const jint SO_BROADCAST = 32;
  29. static const jint SO_OOBINLINE = 4099;
  30. static const jint TCP_NODELAY = 1;
  31. static const jint IP_MULTICAST_IF = 16;
  32. static const jint IP_MULTICAST_IF2 = 31;
  33. static const jint IP_MULTICAST_LOOP = 18;
  34. static const jint IP_TOS = 3;
  35. static ::java::lang::Class class$;
  36. } __attribute__ ((java_interface));
  37. #endif // __java_net_SocketOptions__