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

#ifndef __gnu_classpath_jdwp_event_EventRequest__
#define __gnu_classpath_jdwp_event_EventRequest__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
      namespace jdwp
      {
        namespace event
        {
            class Event;
            class EventRequest;
          namespace filters
          {
              class IEventFilter;
          }
        }
      }
    }
  }
}

class gnu::classpath::jdwp::event::EventRequest : public ::java::lang::Object
{

public:
  EventRequest(jbyte, jbyte);
  EventRequest(jint, jbyte, jbyte);
  virtual void addFilter(::gnu::classpath::jdwp::event::filters::IEventFilter *);
  virtual ::java::util::Collection * getFilters();
  virtual jbyte getSuspendPolicy();
  virtual jint getId();
  virtual void setId(jint);
  virtual jbyte getEventKind();
  virtual jboolean matches(::gnu::classpath::jdwp::event::Event *);
  static const jbyte EVENT_SINGLE_STEP = 1;
  static const jbyte EVENT_BREAKPOINT = 2;
  static const jbyte EVENT_FRAME_POP = 3;
  static const jbyte EVENT_EXCEPTION = 4;
  static const jbyte EVENT_USER_DEFINED = 5;
  static const jbyte EVENT_THREAD_START = 6;
  static const jbyte EVENT_THREAD_END = 7;
  static const jbyte EVENT_CLASS_PREPARE = 8;
  static const jbyte EVENT_CLASS_UNLOAD = 9;
  static const jbyte EVENT_CLASS_LOAD = 10;
  static const jbyte EVENT_FIELD_ACCESS = 20;
  static const jbyte EVENT_FIELD_MODIFY = 21;
  static const jbyte EVENT_METHOD_ENTRY = 40;
  static const jbyte EVENT_METHOD_EXIT = 41;
  static const jbyte EVENT_VM_INIT = 90;
  static const jbyte EVENT_VM_DEATH = 99;
  static const jbyte SUSPEND_NONE = 0;
  static const jbyte SUSPEND_THREAD = 1;
  static const jbyte SUSPEND_ALL = 2;
private:
  static jint _last_id;
  static ::java::lang::Object * _idLock;
  ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) _filters;
  jint _id;
  jbyte _suspendPolicy;
  jbyte _kind;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_classpath_jdwp_event_EventRequest__
