diff options
Diffstat (limited to 'libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h')
-rw-r--r-- | libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h new file mode 100644 index 00000000000..e62ee5dbc77 --- /dev/null +++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_net_ssl_provider_SSLSocketOutputStream__ +#define __gnu_javax_net_ssl_provider_SSLSocketOutputStream__ + +#pragma interface + +#include <java/io/FilterOutputStream.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace net + { + namespace ssl + { + namespace provider + { + class SSLSocket; + class SSLSocketOutputStream; + } + } + } + } + } +} + +class gnu::javax::net::ssl::provider::SSLSocketOutputStream : public ::java::io::FilterOutputStream +{ + +public: // actually package-private + SSLSocketOutputStream(::java::io::OutputStream *, ::gnu::javax::net::ssl::provider::SSLSocket *); + SSLSocketOutputStream(::java::io::OutputStream *, ::gnu::javax::net::ssl::provider::SSLSocket *, jboolean); +public: + virtual void write(jint); + virtual void write(JArray< jbyte > *); + virtual void write(JArray< jbyte > *, jint, jint); +private: + void checkAlert(); + ::gnu::javax::net::ssl::provider::SSLSocket * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) socket; + jboolean checkHandshake; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_net_ssl_provider_SSLSocketOutputStream__ |