diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
commit | 65bf3316cf384588453604be6b4f0ed3751a8b0f (patch) | |
tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/net/ssl/SSLSocket.h | |
parent | 8fc56618a84446beccd45b80381cdfe0e94050df (diff) | |
download | gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz |
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax/net/ssl/SSLSocket.h')
-rw-r--r-- | libjava/javax/net/ssl/SSLSocket.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/libjava/javax/net/ssl/SSLSocket.h b/libjava/javax/net/ssl/SSLSocket.h new file mode 100644 index 00000000000..061bfe15ef0 --- /dev/null +++ b/libjava/javax/net/ssl/SSLSocket.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_net_ssl_SSLSocket__ +#define __javax_net_ssl_SSLSocket__ + +#pragma interface + +#include <java/net/Socket.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace net + { + class InetAddress; + } + } + namespace javax + { + namespace net + { + namespace ssl + { + class HandshakeCompletedListener; + class SSLSession; + class SSLSocket; + } + } + } +} + +class javax::net::ssl::SSLSocket : public ::java::net::Socket +{ + +public: // actually protected + SSLSocket(); + SSLSocket(::java::lang::String *, jint); + SSLSocket(::java::net::InetAddress *, jint); + SSLSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint); + SSLSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint); +public: + virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *) = 0; + virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *) = 0; + virtual JArray< ::java::lang::String * > * getEnabledCipherSuites() = 0; + virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *) = 0; + virtual JArray< ::java::lang::String * > * getEnabledProtocols() = 0; + virtual void setEnabledProtocols(JArray< ::java::lang::String * > *) = 0; + virtual jboolean getEnableSessionCreation() = 0; + virtual void setEnableSessionCreation(jboolean) = 0; + virtual jboolean getNeedClientAuth() = 0; + virtual void setNeedClientAuth(jboolean) = 0; + virtual ::javax::net::ssl::SSLSession * getSession() = 0; + virtual JArray< ::java::lang::String * > * getSupportedCipherSuites() = 0; + virtual JArray< ::java::lang::String * > * getSupportedProtocols() = 0; + virtual jboolean getUseClientMode() = 0; + virtual void setUseClientMode(jboolean) = 0; + virtual jboolean getWantClientAuth() = 0; + virtual void setWantClientAuth(jboolean) = 0; + virtual void startHandshake() = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_net_ssl_SSLSocket__ |