summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/local/LocalServerSocket.h
blob: 35969bc6520bf7db80c9a8f4d7437322d24893d4 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_net_local_LocalServerSocket__
#define __gnu_java_net_local_LocalServerSocket__

#pragma interface

#include <java/net/ServerSocket.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace net
      {
        namespace local
        {
            class LocalServerSocket;
            class LocalSocketImpl;
        }
      }
    }
  }
  namespace java
  {
    namespace net
    {
        class InetAddress;
        class Socket;
        class SocketAddress;
    }
  }
}

class gnu::java::net::local::LocalServerSocket : public ::java::net::ServerSocket
{

public:
  LocalServerSocket();
  LocalServerSocket(::java::net::SocketAddress *);
  void bind(::java::net::SocketAddress *);
  void bind(::java::net::SocketAddress *, jint);
  ::java::net::InetAddress * getInetAddress();
  jint getLocalPort();
  ::java::net::SocketAddress * getLocalSocketAddress();
  ::java::net::Socket * accept();
  void close();
  jboolean isBound();
  jboolean isClosed();
  void setSoTimeout(jint);
  jint getSoTimeout();
  void setReuseAddress(jboolean);
  jboolean getReuseAddress();
  ::java::lang::String * toString();
  void setReceiveBufferSize(jint);
  jint getReceiveBufferSize();
  void setSendBufferSize(jint);
  jint getSendBufferSize();
private:
  ::gnu::java::net::local::LocalSocketImpl * __attribute__((aligned(__alignof__( ::java::net::ServerSocket)))) myImpl;
  jboolean closed;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_net_local_LocalServerSocket__