summaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath/jdwp/event/Event.h
blob: 132d6b50dfc301876ba6b00c9d10b92d039deb9c (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_classpath_jdwp_event_Event__
#define __gnu_classpath_jdwp_event_Event__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
      namespace jdwp
      {
        namespace event
        {
            class Event;
            class EventRequest;
        }
        namespace transport
        {
            class JdwpPacket;
        }
      }
    }
  }
}

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

public:
  Event(jbyte);
  virtual jbyte getEventKind();
public: // actually protected
  virtual void _writeData(::java::io::DataOutputStream *) = 0;
public:
  virtual ::java::lang::Object * getParameter(jint) = 0;
  static ::gnu::classpath::jdwp::transport::JdwpPacket * toPacket(::java::io::DataOutputStream *, JArray< ::gnu::classpath::jdwp::event::Event * > *, JArray< ::gnu::classpath::jdwp::event::EventRequest * > *, jbyte);
private:
  static void _toData(::java::io::DataOutputStream *, ::gnu::classpath::jdwp::event::Event *, ::gnu::classpath::jdwp::event::EventRequest *);
public:
  static const jint EVENT_CLASS = 1;
  static const jint EVENT_THREAD = 2;
  static const jint EVENT_LOCATION = 3;
  static const jint EVENT_INSTANCE = 4;
  static const jint EVENT_FIELD = 5;
  static const jint EVENT_EXCEPTION_CLASS = 6;
  static const jint EVENT_EXCEPTION_CAUGHT = 7;
private:
  jbyte __attribute__((aligned(__alignof__( ::java::lang::Object)))) _eventKind;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_classpath_jdwp_event_Event__