compilation errors fixed
[official-gcc.git] / libjava / java / net / SocketImpl.h
blob0daf5146da0055df166cfae3714244e4add69197
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_net_SocketImpl__
5 #define __java_net_SocketImpl__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace net
16 class InetAddress;
17 class SocketAddress;
18 class SocketImpl;
23 class java::net::SocketImpl : public ::java::lang::Object
26 public:
27 SocketImpl();
28 public: // actually protected
29 virtual void create(jboolean) = 0;
30 virtual void connect(::java::lang::String *, jint) = 0;
31 virtual void connect(::java::net::InetAddress *, jint) = 0;
32 virtual void connect(::java::net::SocketAddress *, jint) = 0;
33 virtual void bind(::java::net::InetAddress *, jint) = 0;
34 virtual void listen(jint) = 0;
35 virtual void accept(::java::net::SocketImpl *) = 0;
36 virtual ::java::io::InputStream * getInputStream() = 0;
37 virtual ::java::io::OutputStream * getOutputStream() = 0;
38 virtual jint available() = 0;
39 virtual void close() = 0;
40 virtual ::java::io::FileDescriptor * getFileDescriptor();
41 virtual ::java::net::InetAddress * getInetAddress();
42 virtual jint getPort();
43 virtual jboolean supportsUrgentData();
44 virtual void sendUrgentData(jint) = 0;
45 virtual jint getLocalPort();
46 public:
47 virtual ::java::lang::String * toString();
48 public: // actually protected
49 virtual void shutdownInput();
50 virtual void shutdownOutput();
51 public:
52 virtual void setOption(jint, ::java::lang::Object *) = 0;
53 virtual ::java::lang::Object * getOption(jint) = 0;
54 public: // actually protected
55 ::java::net::InetAddress * __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
56 ::java::io::FileDescriptor * fd;
57 jint localport;
58 jint port;
59 public:
60 static ::java::lang::Class class$;
63 #endif // __java_net_SocketImpl__