F
ch()
Channel
F
chRead()
ReadableByteChannel
F
chWrite()
WritableByteChannel
F
chSeek()
SeekableByteChannel
F
chSelect()
SelectableChannel
F
chFile()
FileChannel
F
chSock()
SocketChannel
F
chNative()
NativeSelectableChannel
F
realFileno()
int
F
fakeFileno()
int
F
currentLock()
FileLock>
F
isNativeFile()
boolean
C
new(fd, posix, fileno_util, flags)
C
new(fd, posix, fileno_util)
M
best_fileno()
int
M
best_fileno(force_fileno)
int
C
close()
M
dup()
ChannelFD
M
dup2_from(posix, dup2_source)
int
org.jruby.util.io.ChannelFD
class
implements Closeable
19 members
Created by headius on 5/24/14.
Fields
| field | type | note |
| ch |
Channel |
|
| chRead |
ReadableByteChannel |
|
| chWrite |
WritableByteChannel |
|
| chSeek |
SeekableByteChannel |
|
| chSelect |
SelectableChannel |
|
| chFile |
FileChannel |
|
| chSock |
SocketChannel |
|
| chNative |
NativeSelectableChannel |
|
| realFileno |
int |
|
| fakeFileno |
int |
|
| currentLock |
ThreadLocal<FileLock> |
|
| isNativeFile |
boolean |
|
Constructors
new
new
(
Channel fd,
POSIX posix,
FilenoUtil fileno_util,
int flags
)
Java: <init>(java.nio.channels.Channel fd, jnr.posix.POSIX posix, org.jruby.util.io.FilenoUtil filenoUtil, int flags)
new
new
(
Channel fd,
POSIX posix,
FilenoUtil fileno_util
)
Java: <init>(java.nio.channels.Channel fd, jnr.posix.POSIX posix, org.jruby.util.io.FilenoUtil filenoUtil)
Instance Methods
best_fileno
int
best_fileno
(
)
Java: bestFileno()
best_fileno
int
best_fileno
(
boolean force_fileno
)
Java: bestFileno(boolean forceFileno)
dup2_from
int
dup2_from
(
POSIX posix,
ChannelFD dup2_source
)
Java: dup2From(jnr.posix.POSIX posix, org.jruby.util.io.ChannelFD dup2Source)