OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / javax / net / ssl / provider / JDBCSessionContext.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_javax_net_ssl_provider_JDBCSessionContext__
5 #define __gnu_javax_net_ssl_provider_JDBCSessionContext__
6
7 #pragma interface
8
9 #include <gnu/javax/net/ssl/provider/SessionContext.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace javax
17     {
18       namespace net
19       {
20         namespace ssl
21         {
22           namespace provider
23           {
24               class JDBCSessionContext;
25               class Session;
26               class Session$ID;
27           }
28         }
29       }
30     }
31   }
32   namespace java
33   {
34     namespace security
35     {
36       namespace cert
37       {
38           class Certificate;
39       }
40     }
41     namespace sql
42     {
43         class Connection;
44         class PreparedStatement;
45     }
46   }
47   namespace javax
48   {
49     namespace net
50     {
51       namespace ssl
52       {
53           class SSLSession;
54       }
55     }
56   }
57 }
58
59 class gnu::javax::net::ssl::provider::JDBCSessionContext : public ::gnu::javax::net::ssl::provider::SessionContext
60 {
61
62 public: // actually package-private
63   JDBCSessionContext();
64 public:
65   virtual ::java::util::Enumeration * getIds();
66   virtual ::javax::net::ssl::SSLSession * getSession(JArray< jbyte > *);
67 public: // actually package-private
68   virtual jboolean addSession(::gnu::javax::net::ssl::provider::Session$ID *, ::gnu::javax::net::ssl::provider::Session *);
69   virtual jboolean containsSessionID(::gnu::javax::net::ssl::provider::Session$ID *);
70 public: // actually protected
71   virtual jboolean removeSession(::gnu::javax::net::ssl::provider::Session$ID *);
72 public: // actually package-private
73   virtual void notifyAccess(::gnu::javax::net::ssl::provider::Session *);
74 private:
75   JArray< jbyte > * certs(JArray< ::java::security::cert::Certificate * > *);
76 public: // actually protected
77   ::java::sql::Connection * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::SessionContext)))) connection;
78   ::java::sql::PreparedStatement * selectById;
79   ::java::sql::PreparedStatement * insert;
80   ::java::sql::PreparedStatement * selectTimestamp;
81   ::java::sql::PreparedStatement * updateTimestamp;
82   ::java::sql::PreparedStatement * deleteSession;
83 public:
84   static ::java::lang::Class class$;
85 };
86
87 #endif // __gnu_javax_net_ssl_provider_JDBCSessionContext__