OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [net/] [ServerSocket.h] - Blame information for rev 861

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_net_ServerSocket__
5
#define __java_net_ServerSocket__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace gnu
13
  {
14
    namespace java
15
    {
16
      namespace net
17
      {
18
          class PlainSocketImpl;
19
      }
20
    }
21
  }
22
  namespace java
23
  {
24
    namespace net
25
    {
26
        class InetAddress;
27
        class InetSocketAddress;
28
        class ServerSocket;
29
        class Socket;
30
        class SocketAddress;
31
        class SocketImpl;
32
        class SocketImplFactory;
33
    }
34
    namespace nio
35
    {
36
      namespace channels
37
      {
38
          class ServerSocketChannel;
39
      }
40
    }
41
  }
42
}
43
 
44
class java::net::ServerSocket : public ::java::lang::Object
45
{
46
 
47
public: // actually package-private
48
  ServerSocket(::gnu::java::net::PlainSocketImpl *);
49
  virtual ::java::net::SocketImpl * getImpl();
50
public:
51
  ServerSocket();
52
  ServerSocket(jint);
53
  ServerSocket(jint, jint);
54
  ServerSocket(jint, jint, ::java::net::InetAddress *);
55
  virtual void bind(::java::net::SocketAddress *);
56
  virtual void bind(::java::net::SocketAddress *, jint);
57
  virtual ::java::net::InetAddress * getInetAddress();
58
  virtual jint getLocalPort();
59
  virtual ::java::net::SocketAddress * getLocalSocketAddress();
60
  virtual ::java::net::Socket * accept();
61
public: // actually protected
62
  virtual void implAccept(::java::net::Socket *);
63
public:
64
  virtual void close();
65
  virtual ::java::nio::channels::ServerSocketChannel * getChannel();
66
  virtual jboolean isBound();
67
  virtual jboolean isClosed();
68
  virtual void setSoTimeout(jint);
69
  virtual jint getSoTimeout();
70
  virtual void setReuseAddress(jboolean);
71
  virtual jboolean getReuseAddress();
72
  virtual void setReceiveBufferSize(jint);
73
  virtual jint getReceiveBufferSize();
74
  virtual ::java::lang::String * toString();
75
  static void setSocketFactory(::java::net::SocketImplFactory *);
76
private:
77
  static ::java::net::SocketImplFactory * factory;
78
  ::java::net::SocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) impl;
79
  ::java::net::InetSocketAddress * local;
80
  jint port;
81
public:
82
  static ::java::lang::Class class$;
83
};
84
 
85
#endif // __java_net_ServerSocket__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.