Class Tcp.ServerBinding

  • All Implemented Interfaces:, scala.Equals, scala.Product
    Enclosing class:

    public static final class Tcp.ServerBinding
    extends java.lang.Object
    implements scala.Product,
    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:
    Serialized Form
    • Method Detail

      • localAddress

        public localAddress()
      • whenUnbound

        public scala.concurrent.Future<Done> whenUnbound()
      • unbind

        public scala.concurrent.Future<scala.runtime.BoxedUnit> unbind()
      • copy

        public Tcp.ServerBinding copy​( localAddress,
                                      scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction,
                                      scala.concurrent.Future<Done> whenUnbound)
      • copy$default$1

        public copy$default$1()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object