Package org.apache.pekko.io
Class Udp.Bind
java.lang.Object
org.apache.pekko.io.Udp.Bind
- All Implemented Interfaces:
Serializable,org.apache.pekko.io.SelectionHandler.HasFailureMessage,Udp.Command,Udp.Message,scala.Equals,scala.Product
- Enclosing class:
- Udp
public static final class Udp.Bind
extends Object
implements Udp.Command, scala.Product, Serializable
Send this message to the
UdpExt.manager() in order to bind to the given
local port (or an automatically assigned one if the port number is zero).
The listener actor for the newly bound port will reply with a Udp.Bound
message, or the manager will reply with a Udp.CommandFailed message.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBind(ActorRef handler, InetSocketAddress localAddress, scala.collection.immutable.Iterable<Inet.SocketOption> options) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(ActorRef handler, InetSocketAddress localAddress, scala.collection.immutable.Iterable<Inet.SocketOption> options) scala.collection.immutable.Iterable<Inet.SocketOption>booleanhandler()inthashCode()scala.collection.immutable.Iterable<Inet.SocketOption>options()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNamesMethods inherited from interface org.apache.pekko.io.Udp.Command
failureMessage
-
Constructor Details
-
Bind
public Bind(ActorRef handler, InetSocketAddress localAddress, scala.collection.immutable.Iterable<Inet.SocketOption> options)
-
-
Method Details
-
handler
-
localAddress
-
options
-
copy
public Udp.Bind copy(ActorRef handler, InetSocketAddress localAddress, scala.collection.immutable.Iterable<Inet.SocketOption> options) -
copy$default$1
-
copy$default$2
-
copy$default$3
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-