ServerHello.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_ServerHello__
  3. #define __gnu_javax_net_ssl_provider_ServerHello__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace net
  14. {
  15. namespace ssl
  16. {
  17. namespace provider
  18. {
  19. class CipherSuite;
  20. class CompressionMethod;
  21. class ExtensionList;
  22. class ProtocolVersion;
  23. class Random;
  24. class ServerHello;
  25. }
  26. }
  27. }
  28. }
  29. }
  30. namespace java
  31. {
  32. namespace nio
  33. {
  34. class ByteBuffer;
  35. }
  36. }
  37. }
  38. class gnu::javax::net::ssl::provider::ServerHello : public ::java::lang::Object
  39. {
  40. public:
  41. ServerHello(::java::nio::ByteBuffer *);
  42. virtual jint length();
  43. virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * version();
  44. virtual ::gnu::javax::net::ssl::provider::Random * random();
  45. virtual JArray< jbyte > * sessionId();
  46. virtual ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite();
  47. virtual ::gnu::javax::net::ssl::provider::CompressionMethod * compressionMethod();
  48. virtual jint extensionsLength();
  49. virtual ::gnu::javax::net::ssl::provider::ExtensionList * extensions();
  50. virtual ::java::lang::String * toString();
  51. virtual ::java::lang::String * toString(::java::lang::String *);
  52. public: // actually protected
  53. static const jint RANDOM_OFFSET = 2;
  54. static const jint SESSID_OFFSET = 34;
  55. static const jint SESSID_OFFSET2 = 35;
  56. ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
  57. jboolean disableExtensions;
  58. public:
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __gnu_javax_net_ssl_provider_ServerHello__