blob: 98c77c61ba835f80988bd576f4677f9e9700da9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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__
|