SaslInputStream.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_sasl_SaslInputStream__
  3. #define __gnu_javax_crypto_sasl_SaslInputStream__
  4. #pragma interface
  5. #include <java/io/InputStream.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace sasl
  16. {
  17. class SaslInputStream;
  18. }
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace security
  25. {
  26. namespace sasl
  27. {
  28. class SaslClient;
  29. class SaslServer;
  30. }
  31. }
  32. }
  33. }
  34. class gnu::javax::crypto::sasl::SaslInputStream : public ::java::io::InputStream
  35. {
  36. public:
  37. SaslInputStream(::javax::security::sasl::SaslClient *, ::java::io::InputStream *);
  38. SaslInputStream(::javax::security::sasl::SaslServer *, ::java::io::InputStream *);
  39. virtual jint available();
  40. virtual void close();
  41. virtual jint read();
  42. virtual jint read(JArray< jbyte > *, jint, jint);
  43. private:
  44. JArray< jbyte > * readSaslBuffer();
  45. static ::java::util::logging::Logger * log;
  46. ::javax::security::sasl::SaslClient * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) client;
  47. ::javax::security::sasl::SaslServer * server;
  48. jint maxRawSendSize;
  49. ::java::io::InputStream * source;
  50. JArray< jbyte > * internalBuf;
  51. public:
  52. static ::java::lang::Class class$;
  53. };
  54. #endif // __gnu_javax_crypto_sasl_SaslInputStream__