SaslOutputStream.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_sasl_SaslOutputStream__
  3. #define __gnu_javax_crypto_sasl_SaslOutputStream__
  4. #pragma interface
  5. #include <java/io/OutputStream.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 SaslOutputStream;
  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::SaslOutputStream : public ::java::io::OutputStream
  35. {
  36. public:
  37. SaslOutputStream(::javax::security::sasl::SaslClient *, ::java::io::OutputStream *);
  38. SaslOutputStream(::javax::security::sasl::SaslServer *, ::java::io::OutputStream *);
  39. virtual void close();
  40. virtual void flush();
  41. virtual void write(jint);
  42. virtual void write(JArray< jbyte > *, jint, jint);
  43. private:
  44. static ::java::util::logging::Logger * log;
  45. ::javax::security::sasl::SaslClient * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) client;
  46. ::javax::security::sasl::SaslServer * server;
  47. jint maxRawSendSize;
  48. ::java::io::OutputStream * dest;
  49. public:
  50. static ::java::lang::Class class$;
  51. };
  52. #endif // __gnu_javax_crypto_sasl_SaslOutputStream__