jruby/docs BETA
Navigation
org.jruby.util.io 26
C BadDescriptorException
C BlockingIO
C ChannelFD
C ChannelHelper
C EncodingUtils
C FilenoUtil
C Getline
I IOEncodable
C IOOptions
C InvalidValueException
C ModeFlags
C NullChannel
C OpenFile
C POSIXProcess
C PipeException
C PopenExecutor
C PosixShim
C RubyInputStream
C RubyOutputStream
E STDIO
C SeekableByteChannelImpl
C SelectExecutor
C SelectorFactory
C SelectorPool
C Sockaddr
C TransparentByteArrayOutputStream
ChannelFD — members 19
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

fieldtypenote
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)

close

close ( )
Java: close()

dup

ChannelFD dup ( )
Java: dup()

dup2_from

int dup2_from ( POSIX posix, ChannelFD dup2_source )
Java: dup2From(jnr.posix.POSIX posix, org.jruby.util.io.ChannelFD dup2Source)