Class Tcp.OutgoingConnection

java.lang.Object
org.apache.pekko.stream.javadsl.Tcp.OutgoingConnection
Enclosing class:
Tcp

public static class Tcp.OutgoingConnection extends Object
Represents a prospective outgoing TCP connection.
  • Method Details

    • localAddress

      public InetSocketAddress localAddress()
      The local address of the endpoint bound by the materialization of the connection materialization.
    • remoteAddress

      public InetSocketAddress remoteAddress()
      The remote address this connection is or will be bound to.