Package org.elasticsearch.discovery.zen
Class UnicastZenPing.UnicastPingResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.discovery.zen.UnicastZenPing.UnicastPingResponse
-
- All Implemented Interfaces:
Writeable
- Enclosing class:
- UnicastZenPing
public static class UnicastZenPing.UnicastPingResponse extends TransportResponse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
Fields Modifier and Type Field Description ZenPing.PingResponse[]pingResponses
-
Constructor Summary
Constructors Constructor Description UnicastPingResponse(int id, ZenPing.PingResponse[] pingResponses)UnicastPingResponse(StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteTo(StreamOutput out)Write this into the StreamOutput.-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Field Detail
-
pingResponses
public final ZenPing.PingResponse[] pingResponses
-
-
Constructor Detail
-
UnicastPingResponse
public UnicastPingResponse(int id, ZenPing.PingResponse[] pingResponses)
-
UnicastPingResponse
public UnicastPingResponse(StreamInput in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
IOException
-
-