diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/classpath/jdwp/transport | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/classpath/jdwp/transport')
9 files changed, 443 insertions, 0 deletions
diff --git a/libjava/gnu/classpath/jdwp/transport/ITransport.h b/libjava/gnu/classpath/jdwp/transport/ITransport.h new file mode 100644 index 000000000..572b61517 --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/ITransport.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_ITransport__ +#define __gnu_classpath_jdwp_transport_ITransport__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class ITransport; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::ITransport : public ::java::lang::Object +{ + +public: + virtual void configure(::java::util::HashMap *) = 0; + virtual void initialize() = 0; + virtual void shutdown() = 0; + virtual ::java::io::InputStream * getInputStream() = 0; + virtual ::java::io::OutputStream * getOutputStream() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_classpath_jdwp_transport_ITransport__ diff --git a/libjava/gnu/classpath/jdwp/transport/JdwpCommandPacket.h b/libjava/gnu/classpath/jdwp/transport/JdwpCommandPacket.h new file mode 100644 index 000000000..6d67ad48c --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/JdwpCommandPacket.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_JdwpCommandPacket__ +#define __gnu_classpath_jdwp_transport_JdwpCommandPacket__ + +#pragma interface + +#include <gnu/classpath/jdwp/transport/JdwpPacket.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class JdwpCommandPacket; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::JdwpCommandPacket : public ::gnu::classpath::jdwp::transport::JdwpPacket +{ + +public: + JdwpCommandPacket(); + JdwpCommandPacket(jbyte, jbyte); + virtual jint getLength(); + virtual jbyte getCommandSet(); + virtual void setCommandSet(jbyte); + virtual jbyte getCommand(); + virtual void setCommand(jbyte); +public: // actually protected + virtual jint myFromBytes(JArray< jbyte > *, jint); + virtual void myWrite(::java::io::DataOutputStream *); + jbyte __attribute__((aligned(__alignof__( ::gnu::classpath::jdwp::transport::JdwpPacket)))) _commandSet; + jbyte _command; +private: + static const jint MINIMUM_LENGTH = 2; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_JdwpCommandPacket__ diff --git a/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h b/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h new file mode 100644 index 000000000..a8333af9c --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/JdwpConnection.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_JdwpConnection__ +#define __gnu_classpath_jdwp_transport_JdwpConnection__ + +#pragma interface + +#include <java/lang/Thread.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace event + { + class Event; + class EventRequest; + } + namespace transport + { + class ITransport; + class JdwpConnection; + class JdwpPacket; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::JdwpConnection : public ::java::lang::Thread +{ + +public: + JdwpConnection(::java::lang::ThreadGroup *, ::gnu::classpath::jdwp::transport::ITransport *); + virtual void initialize(); +private: + void _doHandshake(); +public: + virtual void run(); +private: + void _readOnePacket(); +public: + virtual ::gnu::classpath::jdwp::transport::JdwpPacket * getPacket(); + virtual void sendPacket(::gnu::classpath::jdwp::transport::JdwpPacket *); + virtual void sendEvents(JArray< ::gnu::classpath::jdwp::event::EventRequest * > *, JArray< ::gnu::classpath::jdwp::event::Event * > *, jbyte); + virtual void shutdown(); +private: + static JArray< jbyte > * _HANDSHAKE; + ::gnu::classpath::jdwp::transport::ITransport * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) _transport; + ::java::util::ArrayList * _commandQueue; + jboolean _shutdown; + ::java::io::DataInputStream * _inStream; + ::java::io::DataOutputStream * _outStream; + ::java::io::ByteArrayOutputStream * _bytes; + ::java::io::DataOutputStream * _doStream; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_JdwpConnection__ diff --git a/libjava/gnu/classpath/jdwp/transport/JdwpPacket.h b/libjava/gnu/classpath/jdwp/transport/JdwpPacket.h new file mode 100644 index 000000000..bace85265 --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/JdwpPacket.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_JdwpPacket__ +#define __gnu_classpath_jdwp_transport_JdwpPacket__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class JdwpPacket; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::JdwpPacket : public ::java::lang::Object +{ + +public: + JdwpPacket(); + JdwpPacket(::gnu::classpath::jdwp::transport::JdwpPacket *); + virtual jint getId(); + virtual void setId(jint); + virtual jbyte getFlags(); + virtual void setFlags(jbyte); + virtual JArray< jbyte > * getData(); + virtual void setData(JArray< jbyte > *); + virtual jint getLength(); +public: // actually protected + virtual jint myFromBytes(JArray< jbyte > *, jint) = 0; +public: + static ::gnu::classpath::jdwp::transport::JdwpPacket * fromBytes(JArray< jbyte > *); +public: // actually protected + virtual void myWrite(::java::io::DataOutputStream *) = 0; +public: + virtual void write(::java::io::DataOutputStream *); +public: // actually protected + static jint _last_id; + static const jint JDWP_FLAG_REPLY = 128; + static const jint MINIMUM_SIZE = 9; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) _id; + jbyte _flags; + JArray< jbyte > * _data; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_JdwpPacket__ diff --git a/libjava/gnu/classpath/jdwp/transport/JdwpReplyPacket.h b/libjava/gnu/classpath/jdwp/transport/JdwpReplyPacket.h new file mode 100644 index 000000000..023533468 --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/JdwpReplyPacket.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_JdwpReplyPacket__ +#define __gnu_classpath_jdwp_transport_JdwpReplyPacket__ + +#pragma interface + +#include <gnu/classpath/jdwp/transport/JdwpPacket.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class JdwpPacket; + class JdwpReplyPacket; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::JdwpReplyPacket : public ::gnu::classpath::jdwp::transport::JdwpPacket +{ + +public: + JdwpReplyPacket(); + JdwpReplyPacket(::gnu::classpath::jdwp::transport::JdwpPacket *, jshort); + JdwpReplyPacket(::gnu::classpath::jdwp::transport::JdwpPacket *); + virtual jint getLength(); + virtual jshort getErrorCode(); + virtual void setErrorCode(jshort); +public: // actually protected + virtual jint myFromBytes(JArray< jbyte > *, jint); + virtual void myWrite(::java::io::DataOutputStream *); + jshort __attribute__((aligned(__alignof__( ::gnu::classpath::jdwp::transport::JdwpPacket)))) _errorCode; +private: + static const jint MINIMUM_LENGTH = 2; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_JdwpReplyPacket__ diff --git a/libjava/gnu/classpath/jdwp/transport/SocketTransport.h b/libjava/gnu/classpath/jdwp/transport/SocketTransport.h new file mode 100644 index 000000000..b5fe5c327 --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/SocketTransport.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_SocketTransport__ +#define __gnu_classpath_jdwp_transport_SocketTransport__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class SocketTransport; + } + } + } + } + namespace java + { + namespace net + { + class Socket; + } + } +} + +class gnu::classpath::jdwp::transport::SocketTransport : public ::java::lang::Object +{ + +public: // actually package-private + SocketTransport(); +public: + virtual void configure(::java::util::HashMap *); + virtual void initialize(); + virtual void shutdown(); + virtual ::java::io::InputStream * getInputStream(); + virtual ::java::io::OutputStream * getOutputStream(); + static ::java::lang::String * NAME; +private: + static ::java::lang::String * _PROPERTY_ADDRESS; + static ::java::lang::String * _PROPERTY_SERVER; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) _port; + ::java::lang::String * _host; + jboolean _server; + ::java::net::Socket * _socket; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_SocketTransport__ diff --git a/libjava/gnu/classpath/jdwp/transport/TransportException.h b/libjava/gnu/classpath/jdwp/transport/TransportException.h new file mode 100644 index 000000000..18c405ceb --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/TransportException.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_TransportException__ +#define __gnu_classpath_jdwp_transport_TransportException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class TransportException; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::TransportException : public ::java::lang::Exception +{ + +public: + TransportException(::java::lang::String *); + TransportException(::java::lang::Throwable *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_TransportException__ diff --git a/libjava/gnu/classpath/jdwp/transport/TransportFactory$TransportMethod.h b/libjava/gnu/classpath/jdwp/transport/TransportFactory$TransportMethod.h new file mode 100644 index 000000000..4900baa66 --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/TransportFactory$TransportMethod.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_TransportFactory$TransportMethod__ +#define __gnu_classpath_jdwp_transport_TransportFactory$TransportMethod__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class TransportFactory$TransportMethod; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::TransportFactory$TransportMethod : public ::java::lang::Object +{ + +public: + TransportFactory$TransportMethod(::java::lang::String *, ::java::lang::Class *); +public: // actually package-private + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + ::java::lang::Class * clazz; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_TransportFactory$TransportMethod__ diff --git a/libjava/gnu/classpath/jdwp/transport/TransportFactory.h b/libjava/gnu/classpath/jdwp/transport/TransportFactory.h new file mode 100644 index 000000000..e3e01986b --- /dev/null +++ b/libjava/gnu/classpath/jdwp/transport/TransportFactory.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_classpath_jdwp_transport_TransportFactory__ +#define __gnu_classpath_jdwp_transport_TransportFactory__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + namespace jdwp + { + namespace transport + { + class ITransport; + class TransportFactory; + class TransportFactory$TransportMethod; + } + } + } + } +} + +class gnu::classpath::jdwp::transport::TransportFactory : public ::java::lang::Object +{ + +public: + TransportFactory(); + static ::gnu::classpath::jdwp::transport::ITransport * newInstance(::java::util::HashMap *); +private: + static ::java::lang::String * _TRANSPORT_PROPERTY; + static JArray< ::gnu::classpath::jdwp::transport::TransportFactory$TransportMethod * > * _transportMethods; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_classpath_jdwp_transport_TransportFactory__ |