2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_net_SocketImpl__
5 #define __java_net_SocketImpl__
9 #include <java/lang/Object.h>
23 class java::net::SocketImpl
: public ::java::lang::Object
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();
47 virtual ::java::lang::String
* toString();
48 public: // actually protected
49 virtual void shutdownInput();
50 virtual void shutdownOutput();
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
;
60 static ::java::lang::Class
class$
;
63 #endif // __java_net_SocketImpl__