Class AssociationHandle.InboundPayload

java.lang.Object
org.apache.pekko.remote.transport.AssociationHandle.InboundPayload
All Implemented Interfaces:
Serializable, NoSerializationVerificationNeeded, AssociationHandle.HandleEvent, scala.Equals, scala.Product
Enclosing interface:
AssociationHandle

public static final class AssociationHandle.InboundPayload extends Object implements AssociationHandle.HandleEvent, scala.Product, Serializable
Message sent to the listener registered to an association (via the Promise returned by pekko.remote.transport.AssociationHandle#readHandlerPromise) when an inbound payload arrives.

param: payload The raw bytes that were sent by the remote endpoint.

See Also:
  • Constructor Details

    • InboundPayload

      public InboundPayload(ByteString payload)
  • Method Details

    • payload

      public ByteString payload()
    • toString

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

    • copy$default$1

      public ByteString copy$default$1()
    • 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
    • equals

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