public class UnixSocketChannel
extends jnr.enxio.channels.NativeSocketChannel
Channel implementation that uses a native unix socket| Modifier and Type | Method and Description | 
|---|---|
| boolean | connect(UnixSocketAddress remote) | 
| boolean | finishConnect() | 
| UnixSocketAddress | getLocalSocketAddress() | 
| UnixSocketAddress | getRemoteSocketAddress() | 
| boolean | isConnected() | 
| boolean | isConnectionPending() | 
| static UnixSocketChannel | open() | 
| static UnixSocketChannel | open(UnixSocketAddress remote) | 
| static UnixSocketChannel[] | pair() | 
getFD, implCloseSelectableChannel, implConfigureBlocking, read, shutdownInput, shutdownOutput, validOps, writeblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerregisterbegin, close, end, isOpenpublic static final UnixSocketChannel open() throws IOException
IOExceptionpublic static final UnixSocketChannel open(UnixSocketAddress remote) throws IOException
IOExceptionpublic static final UnixSocketChannel[] pair() throws IOException
IOExceptionpublic boolean connect(UnixSocketAddress remote) throws IOException
IOExceptionpublic boolean isConnected()
public boolean isConnectionPending()
public boolean finishConnect()
                      throws IOException
IOExceptionpublic final UnixSocketAddress getRemoteSocketAddress()
public final UnixSocketAddress getLocalSocketAddress()
Copyright © 2014. All rights reserved.