java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
- All Implemented Interfaces:
Writeable
,RefCounted
- Direct Known Subclasses:
ActionResponse
,BaseNodeResponse
,BroadcastShardResponse
,CanMatchNodeResponse
,LocalAllocateDangledIndices.AllocateDangledResponse
,PeersResponse
,PreVoteResponse
,PublishWithJoinResponse
,RecoveryResponse
,SearchPhaseResult
,SearchTransportService.SearchFreeContextResponse
,TransportResponse.Empty
,TransportService.HandshakeResponse
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
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
-