Package org.apache.pekko.stream.scaladsl
Class Tcp.ServerBinding
java.lang.Object
org.apache.pekko.stream.scaladsl.Tcp.ServerBinding
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- Tcp
Represents a successful TCP server binding.
Not indented for user construction
param: localAddress The address the server was bound to param: unbindAction a function that will trigger unbind of the server param: whenUnbound A future that is completed when the server is unbound, or failed if the server binding fails
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(InetSocketAddress localAddress, scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction, scala.concurrent.Future<Done> whenUnbound) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()scala.concurrent.Future<scala.runtime.BoxedUnit>unbind()scala.concurrent.Future<Done>Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Method Details
-
localAddress
-
whenUnbound
-
unbind
public scala.concurrent.Future<scala.runtime.BoxedUnit> unbind() -
copy
public Tcp.ServerBinding copy(InetSocketAddress localAddress, scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction, scala.concurrent.Future<Done> whenUnbound) -
copy$default$1
-
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
-