object InetSocketAddress
- Alphabetic
- By Inheritance
- InetSocketAddress
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hostName(hostName: String, port: Int)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates a socket address from a hostname and a port number.
Creates a socket address from a hostname and a port number.
This method will attempt to resolve the hostname; if this fails, the returned socket address will be unresolved.
-
def
hostNameEphemeral(hostName: String)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates a socket address from a hostname, with an ephemeral port.
Creates a socket address from a hostname, with an ephemeral port.
This method will attempt to resolve the hostname; if this fails, the returned socket address will be unresolved.
-
def
hostNameEphemeralResolved(hostName: String)(implicit trace: ZTraceElement): IO[UnknownHostException, InetSocketAddress]
Creates a resolved socket address from a hostname, with an ephemeral port.
Creates a resolved socket address from a hostname, with an ephemeral port.
If the hostname cannot be resolved, fails with
UnknownHostException. -
def
hostNameResolved(hostName: String, port: Int)(implicit trace: ZTraceElement): IO[UnknownHostException, InetSocketAddress]
Creates a resolved socket address from a hostname and port number.
Creates a resolved socket address from a hostname and port number.
If the hostname cannot be resolved, fails with
UnknownHostException. -
def
inetAddress(address: InetAddress, port: Int)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates a socket address from an IP address and a port number.
-
def
inetAddressEphemeral(address: InetAddress)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates a socket address from an IP address, with an ephemeral port.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
localHost(port: Int)(implicit trace: ZTraceElement): IO[UnknownHostException, InetSocketAddress]
Creates a socket address for localhost using the specified port.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unresolvedHostName(hostName: String, port: Int)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates an unresolved socket address from a hostname and a port number.
Creates an unresolved socket address from a hostname and a port number.
No attempt will be made to resolve the hostname into an
InetAddress. The socket address will be flagged as unresolved. -
def
unresolvedHostNameEphemeral(hostName: String)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates an unresolved socket address from a hostname using an ephemeral port.
Creates an unresolved socket address from a hostname using an ephemeral port.
No attempt will be made to resolve the hostname into an
InetAddress. The socket address will be flagged as unresolved. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
wildCard(port: Int)(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates a socket address where the IP address is the wildcard address and the port number a specified value.
Creates a socket address where the IP address is the wildcard address and the port number a specified value.
The socket address will be resolved.
-
def
wildCardEphemeral(implicit trace: ZTraceElement): UIO[InetSocketAddress]
Creates a socket address where the IP address is the wildcard address and the port is ephemeral.
Creates a socket address where the IP address is the wildcard address and the port is ephemeral.
The socket address will be resolved.