Class TransportService.HandshakeResponse

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.transport.TransportService.HandshakeResponse
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted
Enclosing class:
TransportService

public static class TransportService.HandshakeResponse
extends TransportResponse
  • Constructor Details

    • HandshakeResponse

      public HandshakeResponse​(Version version, java.lang.String buildHash, DiscoveryNode discoveryNode, ClusterName clusterName)
    • HandshakeResponse

      public HandshakeResponse​(StreamInput in, boolean requireCompatibleBuild) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • writeTo

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

      public Version getVersion()
    • getBuildHash

      public java.lang.String getBuildHash()
    • getDiscoveryNode

      public DiscoveryNode getDiscoveryNode()
    • getClusterName

      public ClusterName getClusterName()