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

Subversion Repositories openrisc

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

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_Socket__
5
#define __java_net_Socket__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace net
15
    {
16
        class InetAddress;
17
        class Socket;
18
        class SocketAddress;
19
        class SocketImpl;
20
        class SocketImplFactory;
21
    }
22
    namespace nio
23
    {
24
      namespace channels
25
      {
26
          class SocketChannel;
27
      }
28
    }
29
  }
30
}
31
 
32
class java::net::Socket : public ::java::lang::Object
33
{
34
 
35
public:
36
  Socket();
37
public: // actually protected
38
  Socket(::java::net::SocketImpl *);
39
public:
40
  Socket(::java::lang::String *, jint);
41
  Socket(::java::net::InetAddress *, jint);
42
  Socket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
43
  Socket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
44
  Socket(::java::lang::String *, jint, jboolean);
45
  Socket(::java::net::InetAddress *, jint, jboolean);
46
private:
47
  Socket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint, jboolean);
48
  ::java::net::SocketImpl * getImpl();
49
public:
50
  virtual void bind(::java::net::SocketAddress *);
51
  virtual void connect(::java::net::SocketAddress *);
52
  virtual void connect(::java::net::SocketAddress *, jint);
53
  virtual ::java::net::InetAddress * getInetAddress();
54
  virtual ::java::net::InetAddress * getLocalAddress();
55
  virtual jint getPort();
56
  virtual jint getLocalPort();
57
  virtual ::java::net::SocketAddress * getLocalSocketAddress();
58
  virtual ::java::net::SocketAddress * getRemoteSocketAddress();
59
  virtual ::java::io::InputStream * getInputStream();
60
  virtual ::java::io::OutputStream * getOutputStream();
61
  virtual void setTcpNoDelay(jboolean);
62
  virtual jboolean getTcpNoDelay();
63
  virtual void setSoLinger(jboolean, jint);
64
  virtual jint getSoLinger();
65
  virtual void sendUrgentData(jint);
66
  virtual void setOOBInline(jboolean);
67
  virtual jboolean getOOBInline();
68
  virtual void setSoTimeout(jint);
69
  virtual jint getSoTimeout();
70
  virtual void setSendBufferSize(jint);
71
  virtual jint getSendBufferSize();
72
  virtual void setReceiveBufferSize(jint);
73
  virtual jint getReceiveBufferSize();
74
  virtual void setKeepAlive(jboolean);
75
  virtual jboolean getKeepAlive();
76
  virtual void close();
77
  virtual ::java::lang::String * toString();
78
  static void setSocketImplFactory(::java::net::SocketImplFactory *);
79
  virtual void shutdownInput();
80
  virtual void shutdownOutput();
81
  virtual ::java::nio::channels::SocketChannel * getChannel();
82
  virtual jboolean getReuseAddress();
83
  virtual void setReuseAddress(jboolean);
84
  virtual jint getTrafficClass();
85
  virtual void setTrafficClass(jint);
86
  virtual jboolean isConnected();
87
  virtual jboolean isBound();
88
  virtual jboolean isClosed();
89
  virtual jboolean isInputShutdown();
90
  virtual jboolean isOutputShutdown();
91
public: // actually package-private
92
  static ::java::net::SocketImplFactory * factory;
93
  ::java::net::SocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) impl;
94
  jboolean implCreated;
95
  jboolean bound;
96
private:
97
  jboolean inputShutdown;
98
  jboolean outputShutdown;
99
public:
100
  static ::java::lang::Class class$;
101
};
102
 
103
#endif // __java_net_Socket__

powered by: WebSVN 2.1.0

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