| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv | AFUNIXServerSocket(FileDescriptor
The file descriptor, or fdObj)null.Constructs a new instance, optionally associated with the given file descriptor. |
| Modifier and Type | Method and Description |
|---|---|
| public AFUNIXSocket | accept()
Overrides org. Listens for a connection to be made to this socket and accepts it. |
| public static AFUNIXServerSocket | Returns: The new, boundAFServerSocket.The socket file to bind to. addr)Returns a new AF_UNIX |
| public static AFUNIXServerSocket | Returns: The new, boundAFServerSocket.The socket file to bind to. addr, boolean If deleteOnClose)true, the socket file (if the address points to a file) will be
deleted upon close.Returns a new AF_UNIX |
| public static AFUNIXServerSocket | Returns: The new, boundAFServerSocket.The path to bind to. path, boolean If deleteOnClose)true, the socket file will be deleted upon close.Returns a new AF_UNIX |
| public static AFUNIXServerSocket | Returns: The new, boundAFServerSocket.The path to bind to. path, boolean If deleteOnClose)true, the socket file will be deleted upon close.Returns a new AF_UNIX |
| public static AFUNIXServerSocket | Returns: The new, yet unboundAFServerSocket.The address to use. forceAddr)Returns a new, unbound AF_UNIX |
| public AFUNIXServerSocketChannel | getChannel()
Overrides org. Returns the unique |
| protected AFUNIXServerSocketChannel | newChannel()
Implements abstract org. Creates a new AFServerSocketChannel for this socket. |
| protected AFSocketImpl | newImpl(FileDescriptor
The file descriptor. fdObj)Implements abstract org. Creates a new AFSocketImpl. |
| public static AFUNIXServerSocket | |
| pack-priv static AFUNIXServerSocket | |
| protected AFUNIXSocket | Returns: The new instance.Implements abstract org. Returns a new |
| AFUNIXServerSocket | back to summary |
|---|---|
| protected AFUNIXServerSocket() throws IOException Constructs a new, unconnected instance.
| |
| AFUNIXServerSocket | back to summary |
|---|---|
| pack-priv AFUNIXServerSocket(FileDescriptor fdObj) throws IOException Constructs a new instance, optionally associated with the given file descriptor.
| |
| accept | back to summary |
|---|---|
| public AFUNIXSocket accept() throws IOException Overrides org. Doc from java. Listens for a connection to be made to this socket and accepts it. The method blocks until a connection is made. This method is interruptible in the following circumstances:
| |
| bindOn | back to summary |
|---|---|
| public static AFUNIXServerSocket bindOn(final AFUNIXSocketAddress addr) throws IOException Returns a new AF_UNIX
| |
| bindOn | back to summary |
|---|---|
| public static AFUNIXServerSocket bindOn(final AFUNIXSocketAddress addr, boolean deleteOnClose) throws IOException Returns a new AF_UNIX
| |
| bindOn | back to summary |
|---|---|
| public static AFUNIXServerSocket bindOn(final File path, boolean deleteOnClose) throws IOException Returns a new AF_UNIX
| |
| bindOn | back to summary |
|---|---|
| public static AFUNIXServerSocket bindOn(final Path path, boolean deleteOnClose) throws IOException Returns a new AF_UNIX
| |
| forceBindOn | back to summary |
|---|---|
| public static AFUNIXServerSocket forceBindOn(final AFUNIXSocketAddress forceAddr) throws IOException Returns a new, unbound AF_UNIX
| |
| getChannel | back to summary |
|---|---|
| public AFUNIXServerSocketChannel getChannel() Overrides org. Doc from java. Returns the unique A server socket will have a channel if, and only if, the channel
itself was created via the
| |
| newChannel | back to summary |
|---|---|
| protected AFUNIXServerSocketChannel newChannel() Implements abstract org. Doc from org. Creates a new AFServerSocketChannel for this socket.
| |
| newImpl | back to summary |
|---|---|
| protected AFSocketImpl Implements abstract org. Doc from org. Creates a new AFSocketImpl.
| |
| newInstance | back to summary |
|---|---|
| public static AFUNIXServerSocket newInstance() throws IOException Returns a new, unbound AF_UNIX
| |
| newInstance | back to summary |
|---|---|
| pack-priv static AFUNIXServerSocket newInstance(FileDescriptor fdObj, int localPort, int remotePort) throws IOException | |
| newSocketInstance | back to summary |
|---|---|
| protected AFUNIXSocket newSocketInstance() throws IOException Implements abstract org. Returns a new
| |