Package io.vertx.mutiny.core.net
Class SocketAddress
- java.lang.Object
 - 
- io.vertx.mutiny.core.net.SocketAddress
 
 
- 
public class SocketAddress extends Object
The address of a socket, an inet socket address or a domain socket address. UseinetSocketAddress(int, java.lang.String)to create an inet socket address anddomainSocketAddress(java.lang.String)to create a domain socket address NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<SocketAddress>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description SocketAddress(io.vertx.core.net.SocketAddress delegate)SocketAddress(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SocketAddressdomainSocketAddress(String path)booleanequals(Object o)io.vertx.core.net.SocketAddressgetDelegate()inthashCode()Stringhost()StringhostAddress()StringhostName()static SocketAddressinetSocketAddress(int port, String host)static SocketAddressinetSocketAddress(InetSocketAddress address)booleanisDomainSocket()booleanisInetSocket()static SocketAddressnewInstance(io.vertx.core.net.SocketAddress arg)Stringpath()intport()StringtoString() 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<SocketAddress> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
SocketAddress
public SocketAddress(io.vertx.core.net.SocketAddress delegate)
 
- 
SocketAddress
public SocketAddress(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.core.net.SocketAddress getDelegate()
 
- 
inetSocketAddress
public static SocketAddress inetSocketAddress(int port, String host)
- Parameters:
 port- the porthost- the host- Returns:
 - the created socket address
 
 
- 
domainSocketAddress
public static SocketAddress domainSocketAddress(String path)
- Parameters:
 path- the address path- Returns:
 - the created socket address
 
 
- 
host
public String host()
- Returns:
 - the host address
 
 
- 
hostName
public String hostName()
- Returns:
 - the host name
 
 
- 
hostAddress
public String hostAddress()
- Returns:
 - the host address
 
 
- 
port
public int port()
- Returns:
 - the address port or 
-1for a domain socket 
 
- 
path
public String path()
- Returns:
 - the domain socket path or 
nullfor a inet socket address. 
 
- 
isInetSocket
public boolean isInetSocket()
- Returns:
 truefor an inet socket address
 
- 
isDomainSocket
public boolean isDomainSocket()
- Returns:
 truefor an domain socket address
 
- 
inetSocketAddress
public static SocketAddress inetSocketAddress(InetSocketAddress address)
- Parameters:
 address- the address- Returns:
 - the created socket address
 
 
- 
newInstance
public static SocketAddress newInstance(io.vertx.core.net.SocketAddress arg)
 
 - 
 
 -