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

#ifndef __java_rmi_server_UID__
#define __java_rmi_server_UID__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace rmi
    {
      namespace server
      {
        class UID;
      }
    }
  }
}

class java::rmi::server::UID : public ::java::lang::Object
{
public:
  UID ();
  UID (jshort);
  virtual jint hashCode () { return unique; }
  virtual jboolean equals (::java::lang::Object *);
  virtual ::java::lang::String *toString ();
  virtual void write (::java::io::DataOutput *);
  static ::java::rmi::server::UID *read (::java::io::DataInput *);
private:
  static const jlong serialVersionUID = 1086053664494604050LL;
  static ::java::lang::Object *lock;
  static jlong baseTime;
  static jshort nextCount;
  static jint uniqueNr;
  jint __attribute__((aligned(__alignof__( ::java::lang::Object ))))  unique;
  jlong time;
  jshort count;
public:

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

#endif /* __java_rmi_server_UID__ */
