public class SocketAddress extends Object
inetSocketAddress(int, java.lang.String)
to create an inet socket address and domainSocketAddress(java.lang.String)
to create a domain socket address
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<SocketAddress> |
__TYPE_ARG |
Constructor and Description |
---|
SocketAddress(Object delegate) |
SocketAddress(SocketAddress delegate) |
Modifier and Type | Method and Description |
---|---|
static SocketAddress |
domainSocketAddress(String path)
Create a domain socket address.
|
boolean |
equals(Object o) |
SocketAddress |
getDelegate() |
int |
hashCode() |
String |
host() |
static SocketAddress |
inetSocketAddress(int port,
String host)
Create a inet socket address,
host must be non null and port must be between 0
and 65536 . |
static SocketAddress |
newInstance(SocketAddress arg) |
String |
path() |
int |
port() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<SocketAddress> __TYPE_ARG
public SocketAddress(SocketAddress delegate)
public SocketAddress(Object delegate)
public SocketAddress getDelegate()
public static SocketAddress inetSocketAddress(int port, String host)
host
must be non null
and port
must be between 0
and 65536
.port
- the address porthost
- the address hostpublic static SocketAddress domainSocketAddress(String path)
path
- the address pathpublic String host()
null
for a domain socketpublic int port()
-1
for a domain socketpublic String path()
null
for a inet socketpublic static SocketAddress newInstance(SocketAddress arg)
Copyright © 2023 Eclipse. All rights reserved.