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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [channels/] [SocketChannel.h] - Blame information for rev 761

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_nio_channels_SocketChannel__
5
#define __java_nio_channels_SocketChannel__
6
 
7
#pragma interface
8
 
9
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace net
17
    {
18
        class Socket;
19
        class SocketAddress;
20
    }
21
    namespace nio
22
    {
23
        class ByteBuffer;
24
      namespace channels
25
      {
26
          class SocketChannel;
27
        namespace spi
28
        {
29
            class SelectorProvider;
30
        }
31
      }
32
    }
33
  }
34
}
35
 
36
class java::nio::channels::SocketChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
37
{
38
 
39
public: // actually protected
40
  SocketChannel(::java::nio::channels::spi::SelectorProvider *);
41
public:
42
  static ::java::nio::channels::SocketChannel * open();
43
  static ::java::nio::channels::SocketChannel * open(::java::net::SocketAddress *);
44
  virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
45
  virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
46
  virtual jint validOps();
47
  virtual jint read(::java::nio::ByteBuffer *) = 0;
48
  virtual jboolean connect(::java::net::SocketAddress *) = 0;
49
  virtual jboolean finishConnect() = 0;
50
  virtual jboolean isConnected() = 0;
51
  virtual jboolean isConnectionPending() = 0;
52
  virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
53
  virtual ::java::net::Socket * socket() = 0;
54
  virtual jint write(::java::nio::ByteBuffer *) = 0;
55
  virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
56
  static ::java::lang::Class class$;
57
};
58
 
59
#endif // __java_nio_channels_SocketChannel__

powered by: WebSVN 2.1.0

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