final case class EndpointAddress(ip: String, hostname: Option[String] = None, nodeName: Option[String] = None, targetRef: Option[ObjectReference] = None) extends Product with Serializable
EndpointAddress is a tuple that describes single IP address.
- Source
- EndpointAddress.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EndpointAddress
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EndpointAddress(ip: String, hostname: Option[String] = None, nodeName: Option[String] = None, targetRef: Option[ObjectReference] = None)
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostname: Option[String]
- val ip: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapHostname(f: (String) => String): EndpointAddress
if hostname has a value, transforms to the result of function
- def mapIp(f: (String) => String): EndpointAddress
transforms ip to result of function
- def mapNodeName(f: (String) => String): EndpointAddress
if nodeName has a value, transforms to the result of function
- def mapTargetRef(f: (ObjectReference) => ObjectReference): EndpointAddress
if targetRef has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeName: Option[String]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetRef: Option[ObjectReference]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withHostname(value: String): EndpointAddress
Returns a new data with hostname set to new value
- def withIp(value: String): EndpointAddress
Returns a new data with ip set to new value
- def withNodeName(value: String): EndpointAddress
Returns a new data with nodeName set to new value
- def withTargetRef(value: ObjectReference): EndpointAddress
Returns a new data with targetRef set to new value