public class LocalSocketIO extends SocketIO implements FileIO
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
LocalSocketIO.SocketHandler |
AF_INET, AF_INET6, AF_LINK, AF_LOCAL, AF_NETLINK, AF_ROUTE, AF_UNSPEC, IPPROTO_ICMP, IPPROTO_TCP, IPV4_ADDR_LEN, IPV6_ADDR_LEN, SO_PEERSEC, SOCK_DGRAM, SOCK_RAW, SOCK_STREAM, SOL_SOCKEToflags, opSIOCGIFCONF, SIOCGIFFLAGS| 构造器和说明 |
|---|
LocalSocketIO(Emulator<?> emulator,
int sdk) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected int |
connect_ipv4(com.sun.jna.Pointer addr,
int addrlen) |
protected int |
connect_ipv6(com.sun.jna.Pointer addr,
int addrlen) |
int |
connect(com.sun.jna.Pointer addr,
int addrlen) |
int |
fstat(Emulator<?> emulator,
StatStructure stat) |
protected InetSocketAddress |
getLocalSocketAddress() |
protected int |
getTcpNoDelay() |
int |
read(Backend backend,
com.sun.jna.Pointer buffer,
int count) |
protected LocalSocketIO.SocketHandler |
resolveHandler(String path) |
protected void |
setKeepAlive(int keepAlive) |
protected void |
setReceiveBufferSize(int size) |
protected void |
setReuseAddress(int reuseAddress) |
protected void |
setSendBufferSize(int size) |
protected void |
setTcpNoDelay(int tcpNoDelay) |
int |
write(byte[] data) |
bind_ipv4, bind_ipv6, bind, fillAddress, getdents64, getsockname, getsockopt, recvfrom, sendto, setsockoptaccept, setFlags, statfscanRead, dup2, fcntl, ftruncate, getMmapData, getPath, getpeername, ioctl, listen, llseek, lseek, mmap2, pread, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, dup2, fcntl, ftruncate, getPath, getpeername, getsockname, getsockopt, ioctl, listen, llseek, lseek, mmap2, pread, recvfrom, sendto, setsockopt, shutdownaccept, statfspublic LocalSocketIO(Emulator<?> emulator, int sdk)
public void close()
close 在接口中 FileIOclose 在类中 AbstractFileIOpublic int write(byte[] data)
write 在接口中 FileIOwrite 在类中 AbstractFileIOpublic int read(Backend backend, com.sun.jna.Pointer buffer, int count)
read 在接口中 FileIOread 在类中 AbstractFileIOpublic int fstat(Emulator<?> emulator, StatStructure stat)
fstat 在接口中 AndroidFileIOfstat 在类中 SocketIOprotected InetSocketAddress getLocalSocketAddress()
getLocalSocketAddress 在类中 SocketIOprotected LocalSocketIO.SocketHandler resolveHandler(String path)
public final int connect(com.sun.jna.Pointer addr,
int addrlen)
protected int connect_ipv6(com.sun.jna.Pointer addr,
int addrlen)
connect_ipv6 在类中 SocketIOprotected int connect_ipv4(com.sun.jna.Pointer addr,
int addrlen)
connect_ipv4 在类中 SocketIOprotected void setReuseAddress(int reuseAddress)
setReuseAddress 在类中 SocketIOprotected void setKeepAlive(int keepAlive)
setKeepAlive 在类中 SocketIOprotected void setSendBufferSize(int size)
setSendBufferSize 在类中 SocketIOprotected void setReceiveBufferSize(int size)
setReceiveBufferSize 在类中 SocketIOprotected void setTcpNoDelay(int tcpNoDelay)
setTcpNoDelay 在类中 SocketIOprotected int getTcpNoDelay()
getTcpNoDelay 在类中 SocketIOCopyright © 2021. All rights reserved.