Class Tcp.ServerBinding

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product, scala.Serializable
    Enclosing class:
    Tcp

    public static final class Tcp.ServerBinding
    extends java.lang.Object
    implements scala.Product, scala.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerBinding​(java.net.InetSocketAddress localAddress, scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction, scala.concurrent.Future<Done> whenUnbound)  
    • Constructor Detail

      • ServerBinding

        public ServerBinding​(java.net.InetSocketAddress localAddress,
                             scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction,
                             scala.concurrent.Future<Done> whenUnbound)
    • Method Detail

      • localAddress

        public java.net.InetSocketAddress localAddress()
      • whenUnbound

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

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

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

        public java.net.InetSocketAddress 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
      • hashCode

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

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

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