public static final class RemoteAddress.IP extends RemoteAddress implements scala.Product, java.io.Serializable
RemoteAddress.IP, RemoteAddress.IP$, RemoteAddress.Unknown$
Constructor and Description |
---|
IP(java.net.InetAddress ip,
scala.Option<java.lang.Object> port) |
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
ip() |
boolean |
isUnknown() |
scala.Option<java.lang.Object> |
port() |
<R extends Rendering> |
render(R r) |
scala.Some<RemoteAddress.IP> |
toIP() |
scala.Option<java.net.InetAddress> |
toOption() |
apply, apply, apply, getAddress, getPort, renderWithoutPort
create, create, create
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
value
toString
public java.net.InetAddress ip()
public scala.Option<java.lang.Object> port()
public scala.Option<java.net.InetAddress> toOption()
toOption
in class RemoteAddress
public scala.Some<RemoteAddress.IP> toIP()
toIP
in class RemoteAddress
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable
public boolean isUnknown()
isUnknown
in class RemoteAddress