Package org.elasticsearch.transport
Class TransportResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
- All Implemented Interfaces:
Writeable
,org.elasticsearch.core.RefCounted
- 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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionConstructs a new empty transport responseConstructs a new transport response with the data from theStreamInput
. -
Method Summary
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
TransportResponse
public TransportResponse()Constructs a new empty transport response -
TransportResponse
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:
IOException
-