1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_java_net_local_LocalServerSocket__ 5 #define __gnu_java_net_local_LocalServerSocket__ 6 7 #pragma interface 8 9 #include <java/net/ServerSocket.h> 10 extern "Java" 11 { 12 namespace gnu 13 { 14 namespace java 15 { 16 namespace net 17 { 18 namespace local 19 { 20 class LocalServerSocket; 21 class LocalSocketImpl; 22 } 23 } 24 } 25 } 26 namespace java 27 { 28 namespace net 29 { 30 class InetAddress; 31 class Socket; 32 class SocketAddress; 33 } 34 } 35 } 36 37 class gnu::java::net::local::LocalServerSocket : public ::java::net::ServerSocket 38 { 39 40 public: 41 LocalServerSocket(); 42 LocalServerSocket(::java::net::SocketAddress *); 43 void bind(::java::net::SocketAddress *); 44 void bind(::java::net::SocketAddress *, jint); 45 ::java::net::InetAddress * getInetAddress(); 46 jint getLocalPort(); 47 ::java::net::SocketAddress * getLocalSocketAddress(); 48 ::java::net::Socket * accept(); 49 void close(); 50 jboolean isBound(); 51 jboolean isClosed(); 52 void setSoTimeout(jint); 53 jint getSoTimeout(); 54 void setReuseAddress(jboolean); 55 jboolean getReuseAddress(); 56 ::java::lang::String * toString(); 57 void setReceiveBufferSize(jint); 58 jint getReceiveBufferSize(); 59 void setSendBufferSize(jint); 60 jint getSendBufferSize(); 61 private: 62 ::gnu::java::net::local::LocalSocketImpl * __attribute__((aligned(__alignof__( ::java::net::ServerSocket)))) myImpl; 63 jboolean closed; 64 public: 65 static ::java::lang::Class class$; 66 }; 67 68 #endif // __gnu_java_net_local_LocalServerSocket__ 69