summaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath/jdwp/event/EventRequest.h
blob: 3a493a7c876c8c6faa50d8fa9dc4b4005bcb6d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// 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__