summaryrefslogtreecommitdiff
path: root/libjava/java/net/ServerSocket.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/net/ServerSocket.h
downloadcbb-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/java/net/ServerSocket.h')
-rw-r--r--libjava/java/net/ServerSocket.h85
1 files changed, 85 insertions, 0 deletions
diff --git a/libjava/java/net/ServerSocket.h b/libjava/java/net/ServerSocket.h
new file mode 100644
index 000000000..98c77c61b
--- /dev/null
+++ b/libjava/java/net/ServerSocket.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ServerSocket__
+#define __java_net_ServerSocket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace net
+ {
+ class PlainSocketImpl;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class InetSocketAddress;
+ class ServerSocket;
+ class Socket;
+ class SocketAddress;
+ class SocketImpl;
+ class SocketImplFactory;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class ServerSocketChannel;
+ }
+ }
+ }
+}
+
+class java::net::ServerSocket : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ServerSocket(::gnu::java::net::PlainSocketImpl *);
+ virtual ::java::net::SocketImpl * getImpl();
+public:
+ ServerSocket();
+ ServerSocket(jint);
+ ServerSocket(jint, jint);
+ ServerSocket(jint, jint, ::java::net::InetAddress *);
+ virtual void bind(::java::net::SocketAddress *);
+ virtual void bind(::java::net::SocketAddress *, jint);
+ virtual ::java::net::InetAddress * getInetAddress();
+ virtual jint getLocalPort();
+ virtual ::java::net::SocketAddress * getLocalSocketAddress();
+ virtual ::java::net::Socket * accept();
+public: // actually protected
+ virtual void implAccept(::java::net::Socket *);
+public:
+ virtual void close();
+ virtual ::java::nio::channels::ServerSocketChannel * getChannel();
+ virtual jboolean isBound();
+ virtual jboolean isClosed();
+ virtual void setSoTimeout(jint);
+ virtual jint getSoTimeout();
+ virtual void setReuseAddress(jboolean);
+ virtual jboolean getReuseAddress();
+ virtual void setReceiveBufferSize(jint);
+ virtual jint getReceiveBufferSize();
+ virtual ::java::lang::String * toString();
+ static void setSocketFactory(::java::net::SocketImplFactory *);
+private:
+ static ::java::net::SocketImplFactory * factory;
+ ::java::net::SocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) impl;
+ ::java::net::InetSocketAddress * local;
+ jint port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ServerSocket__