-
Methods in dalvik.system with parameters of type FileDescriptor
| Modifier and Type |
Method |
Description |
abstract void |
SocketTagger.tag(FileDescriptor socketDescriptor) |
Notified when socketDescriptor is either assigned to the current
thread.
|
abstract void |
SocketTagger.untag(FileDescriptor socketDescriptor) |
Notified when socketDescriptor is released from the current
thread to a connection pool.
|
-
-
-
-
-
Methods in libcore.io that return FileDescriptor
| Modifier and Type |
Method |
Description |
FileDescriptor |
BlockGuardOs.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
ForwardingOs.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
Os.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
Posix.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
ForwardingOs.dup(FileDescriptor oldFd) |
|
FileDescriptor |
Os.dup(FileDescriptor oldFd) |
|
FileDescriptor |
Posix.dup(FileDescriptor oldFd) |
|
FileDescriptor |
ForwardingOs.dup2(FileDescriptor oldFd,
int newFd) |
|
FileDescriptor |
Os.dup2(FileDescriptor oldFd,
int newFd) |
|
FileDescriptor |
Posix.dup2(FileDescriptor oldFd,
int newFd) |
|
FileDescriptor |
BlockGuardOs.open(String path,
int flags,
int mode) |
|
FileDescriptor |
ForwardingOs.open(String path,
int flags,
int mode) |
|
static FileDescriptor |
IoBridge.open(String path,
int flags) |
java.io only throws FileNotFoundException when opening files, regardless of what actually
went wrong.
|
FileDescriptor |
Os.open(String path,
int flags,
int mode) |
|
FileDescriptor |
Posix.open(String path,
int flags,
int mode) |
|
FileDescriptor[] |
ForwardingOs.pipe() |
|
FileDescriptor[] |
Os.pipe() |
|
FileDescriptor[] |
Posix.pipe() |
|
FileDescriptor |
BlockGuardOs.socket(int domain,
int type,
int protocol) |
|
FileDescriptor |
ForwardingOs.socket(int domain,
int type,
int protocol) |
|
static FileDescriptor |
IoBridge.socket(boolean stream) |
|
FileDescriptor |
Os.socket(int domain,
int type,
int protocol) |
|
FileDescriptor |
Posix.socket(int domain,
int type,
int protocol) |
|
Methods in libcore.io with parameters of type FileDescriptor
| Modifier and Type |
Method |
Description |
FileDescriptor |
BlockGuardOs.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
ForwardingOs.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
Os.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
FileDescriptor |
Posix.accept(FileDescriptor fd,
InetSocketAddress peerAddress) |
|
static int |
IoBridge.available(FileDescriptor fd) |
|
void |
ForwardingOs.bind(FileDescriptor fd,
InetAddress address,
int port) |
|
static void |
IoBridge.bind(FileDescriptor fd,
InetAddress address,
int port) |
|
void |
Os.bind(FileDescriptor fd,
InetAddress address,
int port) |
|
void |
Posix.bind(FileDescriptor fd,
InetAddress address,
int port) |
|
void |
BlockGuardOs.close(FileDescriptor fd) |
|
void |
ForwardingOs.close(FileDescriptor fd) |
|
static void |
IoUtils.close(FileDescriptor fd) |
Calls close(2) on 'fd'.
|
void |
Os.close(FileDescriptor fd) |
|
void |
Posix.close(FileDescriptor fd) |
|
static void |
IoUtils.closeQuietly(FileDescriptor fd) |
Closes 'fd', ignoring any exceptions.
|
static void |
IoBridge.closeSocket(FileDescriptor fd) |
|
void |
BlockGuardOs.connect(FileDescriptor fd,
InetAddress address,
int port) |
|
void |
ForwardingOs.connect(FileDescriptor fd,
InetAddress address,
int port) |
|
static boolean |
IoBridge.connect(FileDescriptor fd,
InetAddress inetAddress,
int port) |
Connects socket 'fd' to 'inetAddress' on 'port', with no timeout.
|
static boolean |
IoBridge.connect(FileDescriptor fd,
InetAddress inetAddress,
int port,
int timeoutMs) |
Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'.
|
void |
Os.connect(FileDescriptor fd,
InetAddress address,
int port) |
|
void |
Posix.connect(FileDescriptor fd,
InetAddress address,
int port) |
|
FileDescriptor |
ForwardingOs.dup(FileDescriptor oldFd) |
|
FileDescriptor |
Os.dup(FileDescriptor oldFd) |
|
FileDescriptor |
Posix.dup(FileDescriptor oldFd) |
|
FileDescriptor |
ForwardingOs.dup2(FileDescriptor oldFd,
int newFd) |
|
FileDescriptor |
Os.dup2(FileDescriptor oldFd,
int newFd) |
|
FileDescriptor |
Posix.dup2(FileDescriptor oldFd,
int newFd) |
|
void |
ForwardingOs.fchmod(FileDescriptor fd,
int mode) |
|
void |
Os.fchmod(FileDescriptor fd,
int mode) |
|
void |
Posix.fchmod(FileDescriptor fd,
int mode) |
|
void |
ForwardingOs.fchown(FileDescriptor fd,
int uid,
int gid) |
|
void |
Os.fchown(FileDescriptor fd,
int uid,
int gid) |
|
void |
Posix.fchown(FileDescriptor fd,
int uid,
int gid) |
|
int |
ForwardingOs.fcntlFlock(FileDescriptor fd,
int cmd,
StructFlock arg) |
|
int |
Os.fcntlFlock(FileDescriptor fd,
int cmd,
StructFlock arg) |
|
int |
Posix.fcntlFlock(FileDescriptor fd,
int cmd,
StructFlock arg) |
|
int |
ForwardingOs.fcntlLong(FileDescriptor fd,
int cmd,
long arg) |
|
int |
Os.fcntlLong(FileDescriptor fd,
int cmd,
long arg) |
|
int |
Posix.fcntlLong(FileDescriptor fd,
int cmd,
long arg) |
|
int |
ForwardingOs.fcntlVoid(FileDescriptor fd,
int cmd) |
|
int |
Os.fcntlVoid(FileDescriptor fd,
int cmd) |
|
int |
Posix.fcntlVoid(FileDescriptor fd,
int cmd) |
|
void |
BlockGuardOs.fdatasync(FileDescriptor fd) |
|
void |
ForwardingOs.fdatasync(FileDescriptor fd) |
|
void |
Os.fdatasync(FileDescriptor fd) |
|
void |
Posix.fdatasync(FileDescriptor fd) |
|
StructStat |
ForwardingOs.fstat(FileDescriptor fd) |
|
StructStat |
Os.fstat(FileDescriptor fd) |
|
StructStat |
Posix.fstat(FileDescriptor fd) |
|
StructStatVfs |
ForwardingOs.fstatvfs(FileDescriptor fd) |
|
StructStatVfs |
Os.fstatvfs(FileDescriptor fd) |
|
StructStatVfs |
Posix.fstatvfs(FileDescriptor fd) |
|
void |
BlockGuardOs.fsync(FileDescriptor fd) |
|
void |
ForwardingOs.fsync(FileDescriptor fd) |
|
void |
Os.fsync(FileDescriptor fd) |
|
void |
Posix.fsync(FileDescriptor fd) |
|
void |
BlockGuardOs.ftruncate(FileDescriptor fd,
long length) |
|
void |
ForwardingOs.ftruncate(FileDescriptor fd,
long length) |
|
void |
Os.ftruncate(FileDescriptor fd,
long length) |
|
void |
Posix.ftruncate(FileDescriptor fd,
long length) |
|
SocketAddress |
ForwardingOs.getpeername(FileDescriptor fd) |
|
SocketAddress |
Os.getpeername(FileDescriptor fd) |
|
SocketAddress |
Posix.getpeername(FileDescriptor fd) |
|
static InetAddress |
IoBridge.getSocketLocalAddress(FileDescriptor fd) |
|
static int |
IoBridge.getSocketLocalPort(FileDescriptor fd) |
|
static Object |
IoBridge.getSocketOption(FileDescriptor fd,
int option) |
java.net has its own socket options similar to the underlying Unix ones.
|
SocketAddress |
ForwardingOs.getsockname(FileDescriptor fd) |
|
SocketAddress |
Os.getsockname(FileDescriptor fd) |
|
SocketAddress |
Posix.getsockname(FileDescriptor fd) |
|
int |
ForwardingOs.getsockoptByte(FileDescriptor fd,
int level,
int option) |
|
int |
Os.getsockoptByte(FileDescriptor fd,
int level,
int option) |
|
int |
Posix.getsockoptByte(FileDescriptor fd,
int level,
int option) |
|
InetAddress |
ForwardingOs.getsockoptInAddr(FileDescriptor fd,
int level,
int option) |
|
InetAddress |
Os.getsockoptInAddr(FileDescriptor fd,
int level,
int option) |
|
InetAddress |
Posix.getsockoptInAddr(FileDescriptor fd,
int level,
int option) |
|
int |
ForwardingOs.getsockoptInt(FileDescriptor fd,
int level,
int option) |
|
int |
Os.getsockoptInt(FileDescriptor fd,
int level,
int option) |
|
int |
Posix.getsockoptInt(FileDescriptor fd,
int level,
int option) |
|
StructLinger |
ForwardingOs.getsockoptLinger(FileDescriptor fd,
int level,
int option) |
|
StructLinger |
Os.getsockoptLinger(FileDescriptor fd,
int level,
int option) |
|
StructLinger |
Posix.getsockoptLinger(FileDescriptor fd,
int level,
int option) |
|
StructTimeval |
ForwardingOs.getsockoptTimeval(FileDescriptor fd,
int level,
int option) |
|
StructTimeval |
Os.getsockoptTimeval(FileDescriptor fd,
int level,
int option) |
|
StructTimeval |
Posix.getsockoptTimeval(FileDescriptor fd,
int level,
int option) |
|
StructUcred |
ForwardingOs.getsockoptUcred(FileDescriptor fd,
int level,
int option) |
|
StructUcred |
Os.getsockoptUcred(FileDescriptor fd,
int level,
int option) |
|
StructUcred |
Posix.getsockoptUcred(FileDescriptor fd,
int level,
int option) |
|
InetAddress |
ForwardingOs.ioctlInetAddress(FileDescriptor fd,
int cmd,
String interfaceName) |
|
InetAddress |
Os.ioctlInetAddress(FileDescriptor fd,
int cmd,
String interfaceName) |
|
InetAddress |
Posix.ioctlInetAddress(FileDescriptor fd,
int cmd,
String interfaceName) |
|
int |
ForwardingOs.ioctlInt(FileDescriptor fd,
int cmd,
MutableInt arg) |
|
int |
Os.ioctlInt(FileDescriptor fd,
int cmd,
MutableInt arg) |
|
int |
Posix.ioctlInt(FileDescriptor fd,
int cmd,
MutableInt arg) |
|
boolean |
ForwardingOs.isatty(FileDescriptor fd) |
|
boolean |
Os.isatty(FileDescriptor fd) |
|
boolean |
Posix.isatty(FileDescriptor fd) |
|
static boolean |
IoBridge.isConnected(FileDescriptor fd,
InetAddress inetAddress,
int port,
int timeoutMs,
int remainingTimeoutMs) |
|
void |
ForwardingOs.listen(FileDescriptor fd,
int backlog) |
|
void |
Os.listen(FileDescriptor fd,
int backlog) |
|
void |
Posix.listen(FileDescriptor fd,
int backlog) |
|
long |
ForwardingOs.lseek(FileDescriptor fd,
long offset,
int whence) |
|
long |
Os.lseek(FileDescriptor fd,
long offset,
int whence) |
|
long |
Posix.lseek(FileDescriptor fd,
long offset,
int whence) |
|
long |
ForwardingOs.mmap(long address,
long byteCount,
int prot,
int flags,
FileDescriptor fd,
long offset) |
|
long |
Os.mmap(long address,
long byteCount,
int prot,
int flags,
FileDescriptor fd,
long offset) |
|
long |
Posix.mmap(long address,
long byteCount,
int prot,
int flags,
FileDescriptor fd,
long offset) |
|
int |
BlockGuardOs.pread(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
BlockGuardOs.pread(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
ForwardingOs.pread(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
ForwardingOs.pread(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
Os.pread(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
Os.pread(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
Posix.pread(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
Posix.pread(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
BlockGuardOs.pwrite(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
BlockGuardOs.pwrite(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
ForwardingOs.pwrite(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
ForwardingOs.pwrite(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
Os.pwrite(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
Os.pwrite(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
Posix.pwrite(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
|
int |
Posix.pwrite(FileDescriptor fd,
ByteBuffer buffer,
long offset) |
|
int |
BlockGuardOs.read(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
BlockGuardOs.read(FileDescriptor fd,
ByteBuffer buffer) |
|
int |
ForwardingOs.read(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
ForwardingOs.read(FileDescriptor fd,
ByteBuffer buffer) |
|
static int |
IoBridge.read(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
java.io thinks that a read at EOF is an error and should return -1, contrary to traditional
Unix practice where you'd read until you got 0 bytes (and any future read would return -1).
|
int |
Os.read(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
Os.read(FileDescriptor fd,
ByteBuffer buffer) |
|
int |
Posix.read(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
Posix.read(FileDescriptor fd,
ByteBuffer buffer) |
|
int |
BlockGuardOs.readv(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
ForwardingOs.readv(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
Os.readv(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
Posix.readv(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
BlockGuardOs.recvfrom(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetSocketAddress srcAddress) |
|
int |
BlockGuardOs.recvfrom(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetSocketAddress srcAddress) |
|
int |
ForwardingOs.recvfrom(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetSocketAddress srcAddress) |
|
int |
ForwardingOs.recvfrom(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetSocketAddress srcAddress) |
|
static int |
IoBridge.recvfrom(boolean isRead,
FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
DatagramPacket packet,
boolean isConnected) |
|
static int |
IoBridge.recvfrom(boolean isRead,
FileDescriptor fd,
ByteBuffer buffer,
int flags,
DatagramPacket packet,
boolean isConnected) |
|
int |
Os.recvfrom(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetSocketAddress srcAddress) |
|
int |
Os.recvfrom(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetSocketAddress srcAddress) |
|
int |
Posix.recvfrom(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetSocketAddress srcAddress) |
|
int |
Posix.recvfrom(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetSocketAddress srcAddress) |
|
long |
ForwardingOs.sendfile(FileDescriptor outFd,
FileDescriptor inFd,
MutableLong inOffset,
long byteCount) |
|
long |
Os.sendfile(FileDescriptor outFd,
FileDescriptor inFd,
MutableLong inOffset,
long byteCount) |
|
long |
Posix.sendfile(FileDescriptor outFd,
FileDescriptor inFd,
MutableLong inOffset,
long byteCount) |
|
int |
BlockGuardOs.sendto(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetAddress inetAddress,
int port) |
|
int |
BlockGuardOs.sendto(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetAddress inetAddress,
int port) |
|
int |
ForwardingOs.sendto(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetAddress inetAddress,
int port) |
|
int |
ForwardingOs.sendto(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetAddress inetAddress,
int port) |
|
static int |
IoBridge.sendto(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetAddress inetAddress,
int port) |
|
static int |
IoBridge.sendto(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetAddress inetAddress,
int port) |
|
int |
Os.sendto(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetAddress inetAddress,
int port) |
|
int |
Os.sendto(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetAddress inetAddress,
int port) |
|
int |
Posix.sendto(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags,
InetAddress inetAddress,
int port) |
|
int |
Posix.sendto(FileDescriptor fd,
ByteBuffer buffer,
int flags,
InetAddress inetAddress,
int port) |
|
static void |
IoUtils.setBlocking(FileDescriptor fd,
boolean blocking) |
Sets 'fd' to be blocking or non-blocking, according to the state of 'blocking'.
|
static void |
IoBridge.setSocketOption(FileDescriptor fd,
int option,
Object value) |
java.net has its own socket options similar to the underlying Unix ones.
|
void |
ForwardingOs.setsockoptByte(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
Os.setsockoptByte(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
Posix.setsockoptByte(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
ForwardingOs.setsockoptGroupReq(FileDescriptor fd,
int level,
int option,
StructGroupReq value) |
|
void |
Os.setsockoptGroupReq(FileDescriptor fd,
int level,
int option,
StructGroupReq value) |
|
void |
Posix.setsockoptGroupReq(FileDescriptor fd,
int level,
int option,
StructGroupReq value) |
|
void |
ForwardingOs.setsockoptIfreq(FileDescriptor fd,
int level,
int option,
String value) |
|
void |
Os.setsockoptIfreq(FileDescriptor fd,
int level,
int option,
String value) |
|
void |
Posix.setsockoptIfreq(FileDescriptor fd,
int level,
int option,
String value) |
|
void |
ForwardingOs.setsockoptInt(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
Os.setsockoptInt(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
Posix.setsockoptInt(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
ForwardingOs.setsockoptIpMreqn(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
Os.setsockoptIpMreqn(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
Posix.setsockoptIpMreqn(FileDescriptor fd,
int level,
int option,
int value) |
|
void |
ForwardingOs.setsockoptLinger(FileDescriptor fd,
int level,
int option,
StructLinger value) |
|
void |
Os.setsockoptLinger(FileDescriptor fd,
int level,
int option,
StructLinger value) |
|
void |
Posix.setsockoptLinger(FileDescriptor fd,
int level,
int option,
StructLinger value) |
|
void |
ForwardingOs.setsockoptTimeval(FileDescriptor fd,
int level,
int option,
StructTimeval value) |
|
void |
Os.setsockoptTimeval(FileDescriptor fd,
int level,
int option,
StructTimeval value) |
|
void |
Posix.setsockoptTimeval(FileDescriptor fd,
int level,
int option,
StructTimeval value) |
|
void |
ForwardingOs.shutdown(FileDescriptor fd,
int how) |
|
void |
Os.shutdown(FileDescriptor fd,
int how) |
|
void |
Posix.shutdown(FileDescriptor fd,
int how) |
|
static void |
AsynchronousCloseMonitor.signalBlockedThreads(FileDescriptor fd) |
|
void |
BlockGuardOs.socketpair(int domain,
int type,
int protocol,
FileDescriptor fd1,
FileDescriptor fd2) |
|
void |
ForwardingOs.socketpair(int domain,
int type,
int protocol,
FileDescriptor fd1,
FileDescriptor fd2) |
|
void |
Os.socketpair(int domain,
int type,
int protocol,
FileDescriptor fd1,
FileDescriptor fd2) |
|
void |
Posix.socketpair(int domain,
int type,
int protocol,
FileDescriptor fd1,
FileDescriptor fd2) |
|
void |
ForwardingOs.tcdrain(FileDescriptor fd) |
|
void |
Os.tcdrain(FileDescriptor fd) |
|
void |
Posix.tcdrain(FileDescriptor fd) |
|
void |
ForwardingOs.tcsendbreak(FileDescriptor fd,
int duration) |
|
void |
Os.tcsendbreak(FileDescriptor fd,
int duration) |
|
void |
Posix.tcsendbreak(FileDescriptor fd,
int duration) |
|
int |
BlockGuardOs.write(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
BlockGuardOs.write(FileDescriptor fd,
ByteBuffer buffer) |
|
int |
ForwardingOs.write(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
ForwardingOs.write(FileDescriptor fd,
ByteBuffer buffer) |
|
static void |
IoBridge.write(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
java.io always writes every byte it's asked to, or fails with an error.
|
int |
Os.write(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
Os.write(FileDescriptor fd,
ByteBuffer buffer) |
|
int |
Posix.write(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
|
int |
Posix.write(FileDescriptor fd,
ByteBuffer buffer) |
|
int |
BlockGuardOs.writev(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
ForwardingOs.writev(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
Os.writev(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
int |
Posix.writev(FileDescriptor fd,
Object[] buffers,
int[] offsets,
int[] byteCounts) |
|
-
Methods in org.conscrypt with parameters of type FileDescriptor
| Modifier and Type |
Method |
Description |
static long |
NativeCrypto.SSL_do_handshake(long sslNativePointer,
FileDescriptor fd,
NativeCrypto.SSLHandshakeCallbacks shc,
int timeoutMillis,
boolean client_mode,
byte[] npnProtocols,
byte[] alpnProtocols) |
Returns the sslSessionNativePointer of the negotiated session.
|
static int |
NativeCrypto.SSL_read(long sslNativePointer,
FileDescriptor fd,
NativeCrypto.SSLHandshakeCallbacks shc,
byte[] b,
int off,
int len,
int readTimeoutMillis) |
Reads with the native SSL_read function from the encrypted data stream
|
static void |
NativeCrypto.SSL_shutdown(long sslNativePointer,
FileDescriptor fd,
NativeCrypto.SSLHandshakeCallbacks shc) |
|
static void |
NativeCrypto.SSL_write(long sslNativePointer,
FileDescriptor fd,
NativeCrypto.SSLHandshakeCallbacks shc,
byte[] b,
int off,
int len,
int writeTimeoutMillis) |
Writes with the native SSL_write function to the encrypted data stream.
|