/[classpath]/classpath/gnu/classpath/jdwp/processor/CommandSet.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/processor/CommandSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Tue Aug 2 20:12:08 2005 UTC revision 1.1.2.2 by gnu_andrew, Sat Sep 10 15:31:36 2005 UTC
# Line 15  General Public License for more details. Line 15  General Public License for more details.
15    
16  You should have received a copy of the GNU General Public License  You should have received a copy of the GNU General Public License
17  along with GNU Classpath; see the file COPYING.  If not, write to the  along with GNU Classpath; see the file COPYING.  If not, write to the
18  Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  02111-1307 USA.  02110-1301 USA.
20    
21  Linking this library statically or dynamically with other modules is  Linking this library statically or dynamically with other modules is
22  making a combined work based on this library.  Thus, the terms and  making a combined work based on this library.  Thus, the terms and
# Line 40  exception statement from your version. * Line 40  exception statement from your version. *
40  package gnu.classpath.jdwp.processor;  package gnu.classpath.jdwp.processor;
41    
42  import gnu.classpath.jdwp.exception.JdwpException;  import gnu.classpath.jdwp.exception.JdwpException;
43    import gnu.classpath.jdwp.VMIdManager;
44    
45  import java.io.DataOutputStream;  import java.io.DataOutputStream;
46  import java.nio.ByteBuffer;  import java.nio.ByteBuffer;
# Line 50  import java.nio.ByteBuffer; Line 51  import java.nio.ByteBuffer;
51   *   *
52   * @author Aaron Luchko <aluchko@redhat.com>   * @author Aaron Luchko <aluchko@redhat.com>
53   */   */
54  public interface CommandSet  public abstract class CommandSet
55  {  {
56    /**    /**
57       * The VM's ID manager
58       */
59      protected final VMIdManager idMan = VMIdManager.getDefault ();
60    
61      /**
62     * Runs the given command with the data in distr and writes the data for the     * Runs the given command with the data in distr and writes the data for the
63     * reply packet to ostr.     * reply packet to ostr.
64     *     *
# Line 62  public interface CommandSet Line 68  public interface CommandSet
68     * @return true if the JDWP layer should shut down in response to this packet     * @return true if the JDWP layer should shut down in response to this packet
69     * @throws JdwpException command wasn't carried out successfully     * @throws JdwpException command wasn't carried out successfully
70     */     */
71    public boolean runCommand(ByteBuffer bb, DataOutputStream os,    public abstract boolean runCommand(ByteBuffer bb, DataOutputStream os,
72                              byte command)                                       byte command)
73      throws JdwpException;      throws JdwpException;
74  }  }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26