Random.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_Random__
  3. #define __gnu_javax_net_ssl_provider_Random__
  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 Random;
  20. }
  21. }
  22. }
  23. }
  24. }
  25. namespace java
  26. {
  27. namespace nio
  28. {
  29. class ByteBuffer;
  30. }
  31. }
  32. }
  33. class gnu::javax::net::ssl::provider::Random : public ::java::lang::Object
  34. {
  35. public:
  36. Random(::java::nio::ByteBuffer *);
  37. virtual ::gnu::javax::net::ssl::provider::Random * copy();
  38. virtual jint length();
  39. virtual ::java::nio::ByteBuffer * buffer();
  40. virtual jint gmtUnixTime();
  41. virtual JArray< jbyte > * randomBytes();
  42. virtual void setGmtUnixTime(jint);
  43. virtual void setRandomBytes(JArray< jbyte > *);
  44. virtual void setRandomBytes(JArray< jbyte > *, jint);
  45. virtual ::java::lang::String * toString(::java::lang::String *);
  46. virtual ::java::lang::String * toString();
  47. public: // actually package-private
  48. static const jint RANDOM_LENGTH = 28;
  49. private:
  50. ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
  51. public:
  52. static ::java::lang::Class class$;
  53. };
  54. #endif // __gnu_javax_net_ssl_provider_Random__