vertx / io.vertx.reactivex.core.net / SocketAddress

SocketAddress

open class SocketAddress

The address of a socket, an inet socket address or a domain socket address. Use io.vertx.reactivex.core.net.SocketAddress#inetSocketAddress to create an inet socket address and io.vertx.reactivex.core.net.SocketAddress#domainSocketAddress to create a domain socket address NOTE: This class has been automatically generated from the io.vertx.core.net.SocketAddress non RX-ified interface using Vert.x codegen.

Constructors

<init>

SocketAddress(delegate: SocketAddress)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<SocketAddress>

Functions

domainSocketAddress

open static fun domainSocketAddress(path: String): SocketAddress

Create a domain socket address.

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): SocketAddress

hashCode

open fun hashCode(): Int

host

open fun host(): String

inetSocketAddress

open static fun inetSocketAddress(port: Int, host: String): SocketAddress

Create a inet socket address, host must be non null and port must be between 0 and 65536.

newInstance

open static fun newInstance(arg: SocketAddress): SocketAddress

path

open fun path(): String

port

open fun port(): Int

toString

open fun toString(): String