Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / javax / crypto / sasl / SaslOutputStream.h
blob8d55853bd80347e71c801c450012ed2be0d924cf
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_javax_crypto_sasl_SaslOutputStream__
5 #define __gnu_javax_crypto_sasl_SaslOutputStream__
7 #pragma interface
9 #include <java/io/OutputStream.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace javax
18 namespace crypto
20 namespace sasl
22 class SaslOutputStream;
27 namespace javax
29 namespace security
31 namespace sasl
33 class SaslClient;
34 class SaslServer;
40 class gnu::javax::crypto::sasl::SaslOutputStream : public ::java::io::OutputStream
43 public:
44 SaslOutputStream(::javax::security::sasl::SaslClient *, ::java::io::OutputStream *);
45 SaslOutputStream(::javax::security::sasl::SaslServer *, ::java::io::OutputStream *);
46 virtual void close();
47 virtual void flush();
48 virtual void write(jint);
49 virtual void write(JArray< jbyte > *, jint, jint);
50 private:
51 static ::java::util::logging::Logger * log;
52 ::javax::security::sasl::SaslClient * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) client;
53 ::javax::security::sasl::SaslServer * server;
54 jint maxRawSendSize;
55 ::java::io::OutputStream * dest;
56 public:
57 static ::java::lang::Class class$;
60 #endif // __gnu_javax_crypto_sasl_SaslOutputStream__