Package akka.io
Class Udp.Bound
- java.lang.Object
-
- akka.io.Udp.Bound
-
- All Implemented Interfaces:
Udp.Event
,Udp.Message
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Udp
public static final class Udp.Bound extends java.lang.Object implements Udp.Event, scala.Product, java.io.Serializable
This message is sent by the listener actor in response to aUdp.Bind
command. If the address to bind to specified a port number of zero, then this message can be inspected to find out which port was automatically assigned.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Bound(java.net.InetSocketAddress localAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
Udp.Bound
copy(java.net.InetSocketAddress localAddress)
java.net.InetSocketAddress
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.net.InetSocketAddress
localAddress()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
-
-
-
Method Detail
-
localAddress
public java.net.InetSocketAddress localAddress()
-
copy
public Udp.Bound copy(java.net.InetSocketAddress localAddress)
-
copy$default$1
public java.net.InetSocketAddress copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-