| Package | Description |
|---|---|
| org.apache.hadoop.net.unix |
| Modifier and Type | Method | Description |
|---|---|---|
DomainSocket |
DomainSocket.accept() |
Accept a new UNIX domain connection.
|
static DomainSocket |
DomainSocket.bindAndListen(java.lang.String path) |
Create a new DomainSocket listening on the given path.
|
static DomainSocket |
DomainSocket.connect(java.lang.String path) |
Create a new DomainSocket connected to the given path.
|
static DomainSocket[] |
DomainSocket.socketpair() |
Create a pair of UNIX domain sockets which are connected to each other
by calling socketpair(2).
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DomainSocketWatcher.add(DomainSocket sock,
DomainSocketWatcher.Handler handler) |
Add a socket.
|
boolean |
DomainSocketWatcher.Handler.handle(DomainSocket sock) |
Handles an event on a socket.
|
void |
DomainSocketWatcher.remove(DomainSocket sock) |
Remove a socket.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.