2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_net_DatagramPacket__
5 #define __java_net_DatagramPacket__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
25 class java::net::DatagramPacket
: public ::java::lang::Object
29 DatagramPacket(JArray
< jbyte
> *, jint
, jint
);
30 DatagramPacket(JArray
< jbyte
> *, jint
);
31 DatagramPacket(JArray
< jbyte
> *, jint
, jint
, ::java::net::InetAddress
*, jint
);
32 DatagramPacket(JArray
< jbyte
> *, jint
, ::java::net::InetAddress
*, jint
);
33 DatagramPacket(JArray
< jbyte
> *, jint
, jint
, ::java::net::SocketAddress
*);
34 DatagramPacket(JArray
< jbyte
> *, jint
, ::java::net::SocketAddress
*);
35 ::java::net::InetAddress
* getAddress();
37 JArray
< jbyte
> * getData();
40 void setAddress(::java::net::InetAddress
*);
42 void setSocketAddress(::java::net::SocketAddress
*);
43 ::java::net::SocketAddress
* getSocketAddress();
44 void setData(JArray
< jbyte
> *);
45 void setData(JArray
< jbyte
> *, jint
, jint
);
48 JArray
< jbyte
> * __attribute__((aligned(__alignof__( ::java::lang::Object
)))) buffer
;
50 public: // actually package-private
54 ::java::net::InetAddress
* address
;
57 static ::java::lang::Class
class$
;
60 #endif // __java_net_DatagramPacket__