Class BoundTransportAddress

java.lang.Object
org.elasticsearch.common.transport.BoundTransportAddress
All Implemented Interfaces:
Writeable

public class BoundTransportAddress
extends java.lang.Object
implements Writeable
A bounded transport address is a tuple of TransportAddress, one array that represents the addresses the transport is bound to, and the other is the published one that represents the address clients should communicate on.
  • Constructor Details

    • BoundTransportAddress

      public BoundTransportAddress​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • BoundTransportAddress

      public BoundTransportAddress​(TransportAddress[] boundAddresses, TransportAddress publishAddress)
  • Method Details

    • boundAddresses

      public TransportAddress[] boundAddresses()
    • publishAddress

      public TransportAddress publishAddress()
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • toString

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