Jdwp.java (notify): Rewrite to call new array-based method.
authorKeith Seitz <keiths@redhat.com>
Mon, 7 May 2007 20:45:21 +0000 (20:45 +0000)
committerKeith Seitz <kseitz@gcc.gnu.org>
Mon, 7 May 2007 20:45:21 +0000 (20:45 +0000)
commitda70c2d9ed52c2dba20a99aee96f16125ef5c1ca
treef52cae977a7fcf03eb025e767d05500d7b199303
parentf3cdfb88d7aa97ab1959451d886c034255011ceb
Jdwp.java (notify): Rewrite to call new array-based method.

        * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
        new array-based method.
        (notify): New function.
        (sendEvent): Rewrite to use sendEvents.
        (sendEvents): New method.
        * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
        Change parameters to use arrays for events and requests.
        Add suspendPolicy parameter.
        Move per-event data transformation to...
        (_toData): ... here.
        * gnu/classpath/jdwp/transport/JdwpConnection.java
        (sendEvent): Renamed to ...
        (sendEvents): ... this.
        Change parameters to use arrays for events and requests.
        Add suspendPolicy parameter.

From-SVN: r124514
libjava/classpath/ChangeLog
libjava/classpath/gnu/classpath/jdwp/Jdwp.java
libjava/classpath/gnu/classpath/jdwp/event/Event.java
libjava/classpath/gnu/classpath/jdwp/transport/JdwpConnection.java