Class TransportService.HandshakeResponse

org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.transport.TransportService.HandshakeResponse
All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted
Enclosing class:
TransportService

public static class TransportService.HandshakeResponse extends TransportResponse
  • Constructor Details

    • HandshakeResponse

      public HandshakeResponse(Version version,  buildHash, DiscoveryNode discoveryNode, ClusterName clusterName)
    • HandshakeResponse

      public HandshakeResponse(StreamInput in, boolean requireCompatibleBuild) throws
      Throws:
  • Method Details

    • writeTo

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

      public Version getVersion()
    • getBuildHash

      public  getBuildHash()
    • getDiscoveryNode

      public DiscoveryNode getDiscoveryNode()
    • getClusterName

      public ClusterName getClusterName()