1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_classpath_jdwp_event_EventRequest__ 5 #define __gnu_classpath_jdwp_event_EventRequest__ 6 7 #pragma interface 8 9 #include <java/lang/Object.h> 10 extern "Java" 11 { 12 namespace gnu 13 { 14 namespace classpath 15 { 16 namespace jdwp 17 { 18 namespace event 19 { 20 class Event; 21 class EventRequest; 22 namespace filters 23 { 24 class IEventFilter; 25 } 26 } 27 } 28 } 29 } 30 } 31 32 class gnu::classpath::jdwp::event::EventRequest : public ::java::lang::Object 33 { 34 35 public: 36 EventRequest(jbyte, jbyte); 37 EventRequest(jint, jbyte, jbyte); 38 virtual void addFilter(::gnu::classpath::jdwp::event::filters::IEventFilter *); 39 virtual ::java::util::Collection * getFilters(); 40 virtual jbyte getSuspendPolicy(); 41 virtual jint getId(); 42 virtual void setId(jint); 43 virtual jbyte getEventKind(); 44 virtual jboolean matches(::gnu::classpath::jdwp::event::Event *); 45 static const jbyte EVENT_SINGLE_STEP = 1; 46 static const jbyte EVENT_BREAKPOINT = 2; 47 static const jbyte EVENT_FRAME_POP = 3; 48 static const jbyte EVENT_EXCEPTION = 4; 49 static const jbyte EVENT_USER_DEFINED = 5; 50 static const jbyte EVENT_THREAD_START = 6; 51 static const jbyte EVENT_THREAD_END = 7; 52 static const jbyte EVENT_CLASS_PREPARE = 8; 53 static const jbyte EVENT_CLASS_UNLOAD = 9; 54 static const jbyte EVENT_CLASS_LOAD = 10; 55 static const jbyte EVENT_FIELD_ACCESS = 20; 56 static const jbyte EVENT_FIELD_MODIFY = 21; 57 static const jbyte EVENT_METHOD_ENTRY = 40; 58 static const jbyte EVENT_METHOD_EXIT = 41; 59 static const jbyte EVENT_VM_INIT = 90; 60 static const jbyte EVENT_VM_DEATH = 99; 61 static const jbyte SUSPEND_NONE = 0; 62 static const jbyte SUSPEND_THREAD = 1; 63 static const jbyte SUSPEND_ALL = 2; 64 private: 65 static jint _last_id; 66 static ::java::lang::Object * _idLock; 67 ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) _filters; 68 jint _id; 69 jbyte _suspendPolicy; 70 jbyte _kind; 71 public: 72 static ::java::lang::Class class$; 73 }; 74 75 #endif // __gnu_classpath_jdwp_event_EventRequest__ 76