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

#ifndef __java_net_SocketPermission__
#define __java_net_SocketPermission__

#pragma interface

#include <java/security/Permission.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
      class SocketPermission;
    }
    namespace security
    {
      class Permission;
      class PermissionCollection;
    }
  }
}

class java::net::SocketPermission : public ::java::security::Permission
{
public:
  SocketPermission (::java::lang::String *, ::java::lang::String *);
  virtual jboolean equals (::java::lang::Object *);
  virtual jint hashCode ();
  virtual ::java::lang::String *getActions ();
  virtual ::java::security::PermissionCollection *newPermissionCollection () { return 0; }
  virtual jboolean implies (::java::security::Permission *);
public: // actually package-private
  static const jlong serialVersionUID = -7204263841984476862LL;
private:
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::Permission )))) hostport;
  ::java::lang::String *actions;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_net_SocketPermission__ */
