diff options
author | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-07 20:48:01 +0000 |
---|---|---|
committer | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-07 20:48:01 +0000 |
commit | 7e16444b9864a56cf9e656570965978693d7d1df (patch) | |
tree | 9317cbeee6280a4d902b1f8ce37ebb5592d558c5 /libjava/gnu | |
parent | 244c6f1cc5bfac4c818c2178dc74dd4c5240b93f (diff) | |
download | gcc-7e16444b9864a56cf9e656570965978693d7d1df.tar.gz |
* classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/event/Event.class:
Regenerate.
* classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
Regenerate.
* gnu/classpath/jdwp/Jdwp.h: Regenerate.
* gnu/classpath/jdwp/event/Event.h: Regenerate.
* gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/classpath/jdwp/Jdwp.h | 4 | ||||
-rw-r--r-- | libjava/gnu/classpath/jdwp/event/Event.h | 7 | ||||
-rw-r--r-- | libjava/gnu/classpath/jdwp/transport/JdwpConnection.h | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/libjava/gnu/classpath/jdwp/Jdwp.h b/libjava/gnu/classpath/jdwp/Jdwp.h index 0d851371f88..ba10ead722c 100644 --- a/libjava/gnu/classpath/jdwp/Jdwp.h +++ b/libjava/gnu/classpath/jdwp/Jdwp.h @@ -7,6 +7,8 @@ #pragma interface #include <java/lang/Thread.h> +#include <gcj/array.h> + extern "Java" { namespace gnu @@ -48,7 +50,9 @@ private: public: virtual void shutdown(); static void notify(::gnu::classpath::jdwp::event::Event *); + static void notify(JArray< ::gnu::classpath::jdwp::event::Event * > *); static void sendEvent(::gnu::classpath::jdwp::event::EventRequest *, ::gnu::classpath::jdwp::event::Event *); + static void sendEvents(JArray< ::gnu::classpath::jdwp::event::EventRequest * > *, JArray< ::gnu::classpath::jdwp::event::Event * > *, jbyte); private: void _enforceSuspendPolicy(jbyte); public: diff --git a/libjava/gnu/classpath/jdwp/event/Event.h b/libjava/gnu/classpath/jdwp/event/Event.h index 19dc07847c3..132d6b50dfc 100644 --- a/libjava/gnu/classpath/jdwp/event/Event.h +++ b/libjava/gnu/classpath/jdwp/event/Event.h @@ -7,6 +7,8 @@ #pragma interface #include <java/lang/Object.h> +#include <gcj/array.h> + extern "Java" { namespace gnu @@ -39,7 +41,10 @@ public: // actually protected virtual void _writeData(::java::io::DataOutputStream *) = 0; public: virtual ::java::lang::Object * getParameter(jint) = 0; - virtual ::gnu::classpath::jdwp::transport::JdwpPacket * toPacket(::java::io::DataOutputStream *, ::gnu::classpath::jdwp::event::EventRequest *); + 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; diff --git a/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h b/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h index aa6a0272a6f..a8333af9ca1 100644 --- a/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h +++ b/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h @@ -48,7 +48,7 @@ private: public: virtual ::gnu::classpath::jdwp::transport::JdwpPacket * getPacket(); virtual void sendPacket(::gnu::classpath::jdwp::transport::JdwpPacket *); - virtual void sendEvent(::gnu::classpath::jdwp::event::EventRequest *, ::gnu::classpath::jdwp::event::Event *); + virtual void sendEvents(JArray< ::gnu::classpath::jdwp::event::EventRequest * > *, JArray< ::gnu::classpath::jdwp::event::Event * > *, jbyte); virtual void shutdown(); private: static JArray< jbyte > * _HANDSHAKE; |