Package | Description |
---|---|
org.jruby | |
org.jruby.ext.socket | |
org.jruby.util | |
org.jruby.util.io |
Modifier and Type | Method and Description |
---|---|
ChannelDescriptor |
RubyIO.getDescriptorByFileno(int aFileno)
Deprecated.
|
ChannelDescriptor |
Ruby.getDescriptorByFileno(int aFileno)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Stream |
RubyIO.fdopen(ChannelDescriptor existingDescriptor,
ModeFlags modes) |
int |
Ruby.getFileno(ChannelDescriptor descriptor)
Get the "external" fileno for a given ChannelDescriptor.
|
void |
RubyIO.registerDescriptor(ChannelDescriptor descriptor)
Deprecated.
|
void |
Ruby.registerDescriptor(ChannelDescriptor descriptor)
Deprecated.
|
void |
RubyIO.registerDescriptor(ChannelDescriptor descriptor,
boolean isRetained)
Deprecated.
|
void |
Ruby.registerDescriptor(ChannelDescriptor descriptor,
boolean isRetained)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ChannelDescriptor |
RubySocket.initChannel(Ruby runtime) |
protected ChannelDescriptor |
RubyServerSocket.initChannel(Ruby runtime) |
protected static ChannelDescriptor |
RubySocket.newChannelDescriptor(Ruby runtime,
Channel channel) |
Modifier and Type | Method and Description |
---|---|
protected void |
RubyBasicSocket.initSocket(Ruby runtime,
ChannelDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
ChannelDescriptor |
URLResource.openDescriptor(ModeFlags flags,
int perm) |
ChannelDescriptor |
FileResource.openDescriptor(ModeFlags flags,
int perm) |
ChannelDescriptor |
ClasspathResource.openDescriptor(ModeFlags flags,
int perm) |
Modifier and Type | Method and Description |
---|---|
ChannelDescriptor |
ChannelDescriptor.dup()
Mimics the POSIX dup(2) function, returning a new descriptor that references
the same open channel.
|
ChannelDescriptor |
ChannelDescriptor.dup2(int fileno)
Mimics the POSIX dup2(2) function, returning a new descriptor that references
the same open channel but with a specified fileno.
|
ChannelDescriptor |
Stream.getDescriptor() |
ChannelDescriptor |
CRLFStreamWrapper.getDescriptor() |
ChannelDescriptor |
ChannelStream.getDescriptor() |
static ChannelDescriptor |
ChannelDescriptor.getDescriptorByFileno(int aFileno) |
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags)
Open a new descriptor using the given working directory, file path,
mode flags, and file permission.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags,
ClassLoader classLoader)
Open a new descriptor using the given working directory, file path,
mode flags, and file permission.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags,
int perm,
jnr.posix.POSIX posix)
Open a new descriptor using the given working directory, file path,
mode flags, and file permission.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags,
int perm,
jnr.posix.POSIX posix,
ClassLoader classLoader)
Open a new descriptor using the given working directory, file path,
mode flags, and file permission.
|
ChannelDescriptor |
ChannelDescriptor.reopen(Channel channel,
ModeFlags modes) |
ChannelDescriptor |
ChannelDescriptor.reopen(RandomAccessFile file,
ModeFlags modes) |
Modifier and Type | Method and Description |
---|---|
static Map<Integer,ChannelDescriptor> |
ChannelDescriptor.getFilenoDescriptorMapReadOnly() |
Modifier and Type | Method and Description |
---|---|
void |
ChannelDescriptor.dup2Into(ChannelDescriptor other)
Mimics the POSIX dup2(2) function, returning a new descriptor that references
the same open channel but with a specified fileno.
|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes) |
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor,
boolean autoclose) |
Copyright © 2001-2016 JRuby. All Rights Reserved.