Class Tcp.Connected

java.lang.Object
org.apache.pekko.io.Tcp.Connected
All Implemented Interfaces:
Serializable, NoSerializationVerificationNeeded, Tcp.Event, Tcp.Message, scala.Equals, scala.Product
Enclosing class:
Tcp

public static final class Tcp.Connected extends Object implements Tcp.Event, scala.Product, Serializable
The connection actor sends this message either to the sender of a Tcp.Connect command (for outbound) or to the handler for incoming connections designated in the Tcp.Bind message. The connection is characterized by the remoteAddress and localAddress TCP endpoints.
See Also:
  • Constructor Details

  • Method Details

    • remoteAddress

      public InetSocketAddress remoteAddress()
    • localAddress

      public InetSocketAddress localAddress()
    • copy

      public Tcp.Connected copy(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
    • copy$default$1

      public InetSocketAddress copy$default$1()
    • copy$default$2

      public InetSocketAddress copy$default$2()
    • productPrefix

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

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

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

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

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

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

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

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

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