Package org.elasticsearch.transport
Class TransportResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- All Implemented Interfaces:
Streamable,Writeable
- Direct Known Subclasses:
ActionResponse,BaseNodeResponse,BroadcastShardResponse,LocalAllocateDangledIndices.AllocateDangledResponse,MasterFaultDetection.MasterPingResponseResponse,NodesFaultDetection.PingResponse,PeersResponse,PreVoteResponse,PublishWithJoinResponse,RecoveryResponse,SearchPhaseResult,SearchTransportService.SearchFreeContextResponse,SyncedFlushService.ShardSyncedFlushResponse,TransportResponse.Empty,TransportService.HandshakeResponse,UnicastZenPing.UnicastPingResponse
public abstract class TransportResponse extends TransportMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransportResponse.Empty-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description TransportResponse()Constructs a new empty transport responseTransportResponse(StreamInput in)Constructs a new transport response with the data from theStreamInput.
-
Method Summary
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
readFrom, remoteAddress, remoteAddress, writeTo
-
-
-
-
Constructor Detail
-
TransportResponse
public TransportResponse()
Constructs a new empty transport response
-
TransportResponse
public TransportResponse(StreamInput in) throws java.io.IOException
Constructs a new transport response with the data from theStreamInput. This is currently a no-op. However, this exists to allow extenders to callsuper(in)so that reading can mirror writing where we often callsuper.writeTo(out).- Throws:
java.io.IOException
-
-