1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_classpath_jdwp_transport_JdwpCommandPacket__ 5 #define __gnu_classpath_jdwp_transport_JdwpCommandPacket__ 6 7 #pragma interface 8 9 #include <gnu/classpath/jdwp/transport/JdwpPacket.h> 10 #include <gcj/array.h> 11 12 extern "Java" 13 { 14 namespace gnu 15 { 16 namespace classpath 17 { 18 namespace jdwp 19 { 20 namespace transport 21 { 22 class JdwpCommandPacket; 23 } 24 } 25 } 26 } 27 } 28 29 class gnu::classpath::jdwp::transport::JdwpCommandPacket : public ::gnu::classpath::jdwp::transport::JdwpPacket 30 { 31 32 public: 33 JdwpCommandPacket(); 34 JdwpCommandPacket(jbyte, jbyte); 35 virtual jint getLength(); 36 virtual jbyte getCommandSet(); 37 virtual void setCommandSet(jbyte); 38 virtual jbyte getCommand(); 39 virtual void setCommand(jbyte); 40 public: // actually protected 41 virtual jint myFromBytes(JArray< jbyte > *, jint); 42 virtual void myWrite(::java::io::DataOutputStream *); 43 jbyte __attribute__((aligned(__alignof__( ::gnu::classpath::jdwp::transport::JdwpPacket)))) _commandSet; 44 jbyte _command; 45 private: 46 static const jint MINIMUM_LENGTH = 2; 47 public: 48 static ::java::lang::Class class$; 49 }; 50 51 #endif // __gnu_classpath_jdwp_transport_JdwpCommandPacket__ 52