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

Subversion Repositories openrisc

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

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_SelectionKey__
5
#define __java_nio_channels_SelectionKey__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace nio
15
    {
16
      namespace channels
17
      {
18
          class SelectableChannel;
19
          class SelectionKey;
20
          class Selector;
21
      }
22
    }
23
  }
24
}
25
 
26
class java::nio::channels::SelectionKey : public ::java::lang::Object
27
{
28
 
29
public: // actually protected
30
  SelectionKey();
31
public:
32
  virtual ::java::lang::Object * attach(::java::lang::Object *);
33
  virtual ::java::lang::Object * attachment();
34
  virtual jboolean isAcceptable();
35
  virtual jboolean isConnectable();
36
  virtual jboolean isReadable();
37
  virtual jboolean isWritable();
38
  virtual void cancel() = 0;
39
  virtual ::java::nio::channels::SelectableChannel * channel() = 0;
40
  virtual jint interestOps() = 0;
41
  virtual ::java::nio::channels::SelectionKey * interestOps(jint) = 0;
42
  virtual jboolean isValid() = 0;
43
  virtual jint readyOps() = 0;
44
  virtual ::java::nio::channels::Selector * selector() = 0;
45
  static const jint OP_ACCEPT = 16;
46
  static const jint OP_CONNECT = 8;
47
  static const jint OP_READ = 1;
48
  static const jint OP_WRITE = 4;
49
public: // actually package-private
50
  ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attached;
51
public:
52
  static ::java::lang::Class class$;
53
};
54
 
55
#endif // __java_nio_channels_SelectionKey__

powered by: WebSVN 2.1.0

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