Package io.servicetalk.transport.api
Class DomainSocketAddress
java.lang.Object
java.net.SocketAddress
io.servicetalk.transport.api.DomainSocketAddress
- All Implemented Interfaces:
Serializable
An address which represents a socket belonging to the
AF_UNIX socket family.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDomainSocketAddress
(File file) Create a new instance.DomainSocketAddress
(String socketPath) Create a new instance. -
Method Summary
-
Constructor Details
-
DomainSocketAddress
Create a new instance.- Parameters:
socketPath
- The file system path used to bind/connect for a UNIX domain socket.
-
DomainSocketAddress
Create a new instance.- Parameters:
file
- Represents file system path used to bind/connect for a UNIX domain socket.
-
-
Method Details
-
getPath
The file system path used to bind/connect for a UNIX domain socket. See AF_UNIX socket family docs.- Returns:
- The file system path used to bind/connect for a UNIX domain socket.
-
toString
-
equals
-
hashCode
public int hashCode()
-