org.elasticsearch.discovery.zen.ping
Class ZenPing.PingResponse

java.lang.Object
  extended by org.elasticsearch.discovery.zen.ping.ZenPing.PingResponse
All Implemented Interfaces:
Streamable
Enclosing interface:
ZenPing

public static class ZenPing.PingResponse
extends Object
implements Streamable


Constructor Summary
ZenPing.PingResponse(DiscoveryNode target, DiscoveryNode master, ClusterName clusterName)
           
 
Method Summary
 ClusterName clusterName()
           
 DiscoveryNode master()
           
 void readFrom(StreamInput in)
           
static ZenPing.PingResponse readPingResponse(StreamInput in)
           
 DiscoveryNode target()
           
 String toString()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZenPing.PingResponse

public ZenPing.PingResponse(DiscoveryNode target,
                            DiscoveryNode master,
                            ClusterName clusterName)
Method Detail

clusterName

public ClusterName clusterName()

target

public DiscoveryNode target()

master

public DiscoveryNode master()

readPingResponse

public static ZenPing.PingResponse readPingResponse(StreamInput in)
                                             throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.