
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_net_ssl_provider_ServerHelloBuilder__
#define __gnu_javax_net_ssl_provider_ServerHelloBuilder__

#pragma interface

#include <gnu/javax/net/ssl/provider/ServerHello.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
          namespace provider
          {
              class CipherSuite;
              class CompressionMethod;
              class ProtocolVersion;
              class ServerHelloBuilder;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
    }
  }
}

class gnu::javax::net::ssl::provider::ServerHelloBuilder : public ::gnu::javax::net::ssl::provider::ServerHello
{

public:
  ServerHelloBuilder();
  virtual ::java::nio::ByteBuffer * buffer();
  virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
  virtual void setSessionId(JArray< jbyte > *);
  virtual void setSessionId(JArray< jbyte > *, jint, jint);
  virtual void setCipherSuite(::gnu::javax::net::ssl::provider::CipherSuite *);
  virtual void setCompressionMethod(::gnu::javax::net::ssl::provider::CompressionMethod *);
  virtual void setDisableExtensions(jboolean);
  virtual void setExtensionsLength(jint);
  virtual void setExtensions(::java::nio::ByteBuffer *);
  virtual void ensureCapacity(jint);
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_provider_ServerHelloBuilder__
