blob: 1b6b0397467bd2bd4ba9346c8142a94885291ea6 (
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_nio_channels_SelectionKey__
#define __java_nio_channels_SelectionKey__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace java
{
namespace nio
{
namespace channels
{
class SelectableChannel;
class SelectionKey;
class Selector;
}
}
}
}
class java::nio::channels::SelectionKey : public ::java::lang::Object
{
public: // actually protected
SelectionKey();
public:
virtual ::java::lang::Object * attach(::java::lang::Object *);
virtual ::java::lang::Object * attachment();
virtual jboolean isAcceptable();
virtual jboolean isConnectable();
virtual jboolean isReadable();
virtual jboolean isWritable();
virtual void cancel() = 0;
virtual ::java::nio::channels::SelectableChannel * channel() = 0;
virtual jint interestOps() = 0;
virtual ::java::nio::channels::SelectionKey * interestOps(jint) = 0;
virtual jboolean isValid() = 0;
virtual jint readyOps() = 0;
virtual ::java::nio::channels::Selector * selector() = 0;
static const jint OP_ACCEPT = 16;
static const jint OP_CONNECT = 8;
static const jint OP_READ = 1;
static const jint OP_WRITE = 4;
public: // actually package-private
::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attached;
public:
static ::java::lang::Class class$;
};
#endif // __java_nio_channels_SelectionKey__
|