Extension.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_Extension__
  3. #define __gnu_javax_net_ssl_provider_Extension__
  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 Extension;
  20. class Extension$Type;
  21. class Extension$Value;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. namespace java
  28. {
  29. namespace nio
  30. {
  31. class ByteBuffer;
  32. }
  33. }
  34. }
  35. class gnu::javax::net::ssl::provider::Extension : public ::java::lang::Object
  36. {
  37. public:
  38. Extension(::java::nio::ByteBuffer *);
  39. Extension(::gnu::javax::net::ssl::provider::Extension$Type *, ::gnu::javax::net::ssl::provider::Extension$Value *);
  40. jint length();
  41. ::java::nio::ByteBuffer * buffer();
  42. ::gnu::javax::net::ssl::provider::Extension$Type * type();
  43. JArray< jbyte > * valueBytes();
  44. ::java::nio::ByteBuffer * valueBuffer();
  45. ::gnu::javax::net::ssl::provider::Extension$Value * value();
  46. void setLength(jint);
  47. void setType(::gnu::javax::net::ssl::provider::Extension$Type *);
  48. void setValue(JArray< jbyte > *);
  49. void setValue(JArray< jbyte > *, jint, jint);
  50. ::java::lang::String * toString();
  51. ::java::lang::String * toString(::java::lang::String *);
  52. public: // actually package-private
  53. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
  54. private:
  55. ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
  56. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
  57. public:
  58. static ::java::lang::Class class$;
  59. };
  60. #endif // __gnu_javax_net_ssl_provider_Extension__