| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static Throwable | |
| private static final AtomicBoolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | OPT_NON_SOCKET
Indicator that the handle isn't referring to a socket but some other file descriptor. |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static native boolean | accept(ByteBuffer sockaddr, int sockaddrLen, FileDescriptor fdServer, FileDescriptor fd, long inode, int timeout)
|
| pack-priv static native int | |
| pack-priv static native void | |
| pack-priv static native int | |
| pack-priv static native long | |
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native int | Returns: 0 = non-blocking, 1 = blocking, 2 = indeterminate (needs reconfiguration)The file descriptor to check fd)Checks if the given file descriptor describes a blocking socket. |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native boolean | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native Socket | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native FileDescriptor | |
| pack-priv static void | |
| pack-priv static native boolean | |
| pack-priv static native int | |
| pack-priv static native <T> T | |
| pack-priv static native int | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native boolean | |
| pack-priv static void | |
| pack-priv static native ProcessBuilder. | |
| pack-priv static native void | |
| pack-priv static boolean | |
| pack-priv static native void | |
| pack-priv static native int | |
| pack-priv static native void | |
| pack-priv static native AFUNIXSocketCredentials | |
| pack-priv static native int | |
| pack-priv static native Class | |
| pack-priv static native int | Returns: The number of bytes read, -1 if nothing could be read, or the byte itself iffbuf was null.The corresponding file descriptor. fd, byte[] The buffer to read into, or buf, int null if a single byte should be read.The buffer offset. off, int The maximum number of bytes to read. Must be 1 if len, int buf is null.Options. options, AncillaryDataSupport The ancillary data support instance, or ancillaryDataSupport, int timeoutMillis)null.Reads data from an |
| pack-priv static native int | receive(FileDescriptor fd, ByteBuffer directBuffer, int offset, int length, ByteBuffer directSocketAddressOut, int options, AncillaryDataSupport ancillaryDataSupport, int timeoutMillis)
|
| pack-priv static Throwable | |
| pack-priv static native int | send(FileDescriptor fd, ByteBuffer directBuffer, int offset, int length, ByteBuffer directSocketAddress, int addrLen, int options, AncillaryDataSupport ancillaryDataSupport)
|
| pack-priv static void | |
| pack-priv static native void | |
| pack-priv static void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native byte[] | |
| pack-priv static native void | |
| pack-priv static native int | |
| pack-priv static native byte[] | |
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native byte[] | |
| pack-priv static native byte[] | |
| private static void | |
| pack-priv static UnsupportedOperationException | |
| pack-priv static native int | |
| pack-priv static native int | Returns: The number of bytes written (which could be 0).The corresponding file descriptor. fd, byte[] The buffer to write from, or buf, int null if a single byte should be written.The buffer offset, or the byte to write if off, int buf is null.The number of bytes to write. Must be 1 if len, int buf is null.Options. options, AncillaryDataSupport The ancillary data support instance, or ancillaryDataSupport)null.Writes data to an |
| BIND_OPT_REUSE | back to summary |
|---|---|
| pack-priv static final int BIND_OPT_REUSE | |
| DOMAIN_GENERIC | back to summary |
|---|---|
| pack-priv static final int DOMAIN_GENERIC | |
| DOMAIN_SYSTEM | back to summary |
|---|---|
| pack-priv static final int DOMAIN_SYSTEM | |
| DOMAIN_TIPC | back to summary |
|---|---|
| pack-priv static final int DOMAIN_TIPC | |
| DOMAIN_UNIX | back to summary |
|---|---|
| pack-priv static final int DOMAIN_UNIX | |
| DOMAIN_VSOCK | back to summary |
|---|---|
| pack-priv static final int DOMAIN_VSOCK | |
| initError | back to summary |
|---|---|
private static Throwable initError
| |
| LOADED | back to summary |
|---|---|
| private static final AtomicBoolean LOADED | |
| OPT_DGRAM_MODE | back to summary |
|---|---|
| pack-priv static final int OPT_DGRAM_MODE | |
| OPT_LOOKUP_SENDER | back to summary |
|---|---|
| pack-priv static final int OPT_LOOKUP_SENDER | |
| OPT_NON_BLOCKING | back to summary |
|---|---|
| pack-priv static final int OPT_NON_BLOCKING | |
| OPT_NON_SOCKET | back to summary |
|---|---|
| pack-priv static final int OPT_NON_SOCKET Indicator that the handle isn't referring to a socket but some other file descriptor. | |
| OPT_PEEK | back to summary |
|---|---|
| pack-priv static final int OPT_PEEK | |
| SHUT_RD | back to summary |
|---|---|
| pack-priv static final int SHUT_RD | |
| SHUT_RD_WR | back to summary |
|---|---|
| pack-priv static final int SHUT_RD_WR | |
| SHUT_WR | back to summary |
|---|---|
| pack-priv static final int SHUT_WR | |
| SOCK_DGRAM | back to summary |
|---|---|
| pack-priv static final int SOCK_DGRAM | |
| SOCK_RAW | back to summary |
|---|---|
| pack-priv static final int SOCK_RAW | |
| SOCK_RDM | back to summary |
|---|---|
| pack-priv static final int SOCK_RDM | |
| SOCK_SEQPACKET | back to summary |
|---|---|
| pack-priv static final int SOCK_SEQPACKET | |
| SOCK_STREAM | back to summary |
|---|---|
| pack-priv static final int SOCK_STREAM | |
| SOCKETSTATUS_BOUND | back to summary |
|---|---|
| pack-priv static final int SOCKETSTATUS_BOUND | |
| SOCKETSTATUS_CONNECTED | back to summary |
|---|---|
| pack-priv static final int SOCKETSTATUS_CONNECTED | |
| SOCKETSTATUS_INVALID | back to summary |
|---|---|
| pack-priv static final int SOCKETSTATUS_INVALID | |
| SOCKETSTATUS_UNKNOWN | back to summary |
|---|---|
| pack-priv static final int SOCKETSTATUS_UNKNOWN | |
| NativeUnixSocket | back to summary |
|---|---|
private NativeUnixSocket()
| |
| accept | back to summary |
|---|---|
| pack-priv static native boolean accept(ByteBuffer sockaddr, int sockaddrLen, FileDescriptor fdServer, FileDescriptor fd, long inode, int timeout) throws IOException | |
| ancillaryBufMinLen | back to summary |
|---|---|
| pack-priv static native int ancillaryBufMinLen() | |
| attachCloseable | back to summary |
|---|---|
| pack-priv static native void attachCloseable(FileDescriptor fdesc, Closeable closeable) throws SocketException | |
| available | back to summary |
|---|---|
| pack-priv static native int available(FileDescriptor fd, ByteBuffer buf) throws IOException | |
| bind | back to summary |
|---|---|
| pack-priv static native long bind(ByteBuffer sockaddr, int sockaddrLen, FileDescriptor fd, int options) throws IOException | |
| bytesToSockAddr | back to summary |
|---|---|
| pack-priv static native int bytesToSockAddr(int domain, ByteBuffer sockAddrDirectBuf, byte[] address) | |
| capabilities | back to summary |
|---|---|
| pack-priv static native int capabilities() | |
| checkBlocking | back to summary |
|---|---|
| pack-priv static native int checkBlocking(FileDescriptor fd) throws IOException Checks if the given file descriptor describes a blocking socket.
| |
| close | back to summary |
|---|---|
| pack-priv static native void close(FileDescriptor fd) throws IOException | |
| configureBlocking | back to summary |
|---|---|
| pack-priv static native void configureBlocking(FileDescriptor fd, boolean blocking) throws IOException | |
| connect | back to summary |
|---|---|
| pack-priv static native boolean connect(ByteBuffer sockaddr, int sockaddrLen, FileDescriptor fd, long inode) throws IOException | |
| copyFileDescriptor | back to summary |
|---|---|
| pack-priv static native void copyFileDescriptor(FileDescriptor source, FileDescriptor target) throws IOException | |
| createSocket | back to summary |
|---|---|
| pack-priv static native void createSocket(FileDescriptor fdesc, int domain, int type) throws IOException | |
| currentRMISocket | back to summary |
|---|---|
| pack-priv static native Socket currentRMISocket() | |
| deregisterSelectionKey | back to summary |
|---|---|
| pack-priv static native void deregisterSelectionKey(AbstractSelectableChannel chann, SelectionKey key) | |
| destroy | back to summary |
|---|---|
pack-priv static native void destroy() throws Exception
| |
| disconnect | back to summary |
|---|---|
| pack-priv static native void disconnect(FileDescriptor fd) throws IOException | |
| duplicate | back to summary |
|---|---|
| pack-priv static native FileDescriptor duplicate(FileDescriptor fdSource, FileDescriptor fdTarget) throws IOException | |
| ensureSupported | back to summary |
|---|---|
| pack-priv static void ensureSupported() throws UnsupportedOperationException | |
| finishConnect | back to summary |
|---|---|
| pack-priv static native boolean finishConnect(FileDescriptor fd) throws IOException | |
| getFD | back to summary |
|---|---|
| pack-priv static native int getFD(FileDescriptor fdesc) throws IOException | |
| getSocketOption | back to summary |
|---|---|
| pack-priv static native <T> T getSocketOption(FileDescriptor fd, int level, int optionName, Class<T> valueType) throws IOException | |
| getSocketOptionInt | back to summary |
|---|---|
| pack-priv static native int getSocketOptionInt(FileDescriptor fd, int optionId) throws IOException | |
| init | back to summary |
|---|---|
pack-priv static native void init() throws Exception
| |
| initFD | back to summary |
|---|---|
| pack-priv static native void initFD(FileDescriptor fdesc, int fd) throws IOException | |
| initPipe | back to summary |
|---|---|
| pack-priv static native boolean initPipe(FileDescriptor source, FileDescriptor sink, boolean selectable) throws IOException | |
| initPre | back to summary |
|---|---|
| pack-priv static void initPre() | |
| initRedirect | back to summary |
|---|---|
| pack-priv static native ProcessBuilder. | |
| initServerImpl | back to summary |
|---|---|
| pack-priv static native void initServerImpl(ServerSocket serverSocket, AFSocketImpl<?> impl) throws IOException | |
| isLoaded | back to summary |
|---|---|
| pack-priv static boolean isLoaded() | |
| listen | back to summary |
|---|---|
| pack-priv static native void listen(FileDescriptor fd, int backlog) throws IOException | |
| maxAddressLength | back to summary |
|---|---|
| pack-priv static native int maxAddressLength() | |
| noop | back to summary |
|---|---|
| pack-priv static native void noop() Can be used to check (without side-effects) if the library has been loaded.
Terminates normally if so; throws | |
| peerCredentials | back to summary |
|---|---|
| pack-priv static native AFUNIXSocketCredentials peerCredentials(FileDescriptor fd, AFUNIXSocketCredentials creds) throws IOException | |
| poll | back to summary |
|---|---|
| pack-priv static native int poll(AFSelector. | |
| primaryType | back to summary |
|---|---|
| pack-priv static native Class | |
| read | back to summary |
|---|---|
| pack-priv static native int read(FileDescriptor fd, byte[] buf, int off, int len, int options, AncillaryDataSupport ancillaryDataSupport, int timeoutMillis) throws IOException Reads data from an
| |
| receive | back to summary |
|---|---|
| pack-priv static native int receive(FileDescriptor fd, ByteBuffer directBuffer, int offset, int length, ByteBuffer directSocketAddressOut, int options, AncillaryDataSupport ancillaryDataSupport, int timeoutMillis) throws IOException | |
| retrieveInitError | back to summary |
|---|---|
| pack-priv static Throwable retrieveInitError() | |
| send | back to summary |
|---|---|
| pack-priv static native int send(FileDescriptor fd, ByteBuffer directBuffer, int offset, int length, ByteBuffer directSocketAddress, int addrLen, int options, AncillaryDataSupport ancillaryDataSupport) throws IOException | |
| setLoaded | back to summary |
|---|---|
| pack-priv static void setLoaded(boolean successful) | |
| setPort | back to summary |
|---|---|
| pack-priv static native void setPort(SocketAddress addr, int port) | |
| setPort1 | back to summary |
|---|---|
pack-priv static void setPort1(SocketAddress addr, int port) throws SocketException
| |
| setSocketOption | back to summary |
|---|---|
| pack-priv static native void setSocketOption(FileDescriptor fd, int level, int optionName, Object value) throws IOException | |
| setSocketOptionInt | back to summary |
|---|---|
| pack-priv static native void setSocketOptionInt(FileDescriptor fd, int optionId, int value) throws IOException | |
| shutdown | back to summary |
|---|---|
| pack-priv static native void shutdown(FileDescriptor fd, int mode) throws IOException | |
| sockAddrLength | back to summary |
|---|---|
| pack-priv static native int sockAddrLength(int domain) | |
| sockAddrNativeDataOffset | back to summary |
|---|---|
| pack-priv static native int sockAddrNativeDataOffset() | |
| sockAddrNativeFamilyOffset | back to summary |
|---|---|
| pack-priv static native int sockAddrNativeFamilyOffset() | |
| sockAddrToBytes | back to summary |
|---|---|
| pack-priv static native byte[] sockAddrToBytes(int domain, ByteBuffer sockAddrDirect) | |
| socketPair | back to summary |
|---|---|
| pack-priv static native void socketPair(int domain, int type, FileDescriptor fd, FileDescriptor fd2) | |
| socketStatus | back to summary |
|---|---|
| pack-priv static native int socketStatus(FileDescriptor fd) throws IOException | |
| sockname | back to summary |
|---|---|
| pack-priv static native byte[] sockname(int domain, FileDescriptor fd, boolean peer) | |
| sockTypeToNative | back to summary |
|---|---|
| pack-priv static native int sockTypeToNative(int type) throws IOException | |
| systemResolveCtlId | back to summary |
|---|---|
| pack-priv static native int systemResolveCtlId(FileDescriptor fd, String ctlName) throws IOException | |
| tipcGetLinkName | back to summary |
|---|---|
| pack-priv static native byte[] tipcGetLinkName(int peer, int bearerId) throws IOException | |
| tipcGetNodeId | back to summary |
|---|---|
| pack-priv static native byte[] tipcGetNodeId(int peer) throws IOException | |
| tryResolveClass | back to summary |
|---|---|
| private static void tryResolveClass(String className) | |
| unsupportedException | back to summary |
|---|---|
| pack-priv static UnsupportedOperationException unsupportedException() | |
| vsockGetLocalCID | back to summary |
|---|---|
| pack-priv static native int vsockGetLocalCID() throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static native int write(FileDescriptor fd, byte[] buf, int off, int len, int options, AncillaryDataSupport ancillaryDataSupport) throws IOException Writes data to an
| |