Package org.elasticsearch.transport
Class TransportMessage
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- All Implemented Interfaces:
Writeable
- Direct Known Subclasses:
TransportRequest
,TransportResponse
public abstract class TransportMessage extends java.lang.Object implements Writeable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description TransportMessage()
Constructs a new empty transport messageTransportMessage(StreamInput in)
Constructs a new transport message with the data from theStreamInput
.
-
Method Summary
Modifier and Type Method Description TransportAddress
remoteAddress()
void
remoteAddress(TransportAddress remoteAddress)
-
-
-
Constructor Detail
-
TransportMessage
public TransportMessage()
Constructs a new empty transport message
-
TransportMessage
public TransportMessage(StreamInput in)
Constructs a new transport message with the data from theStreamInput
. This is currently a no-op
-
-
Method Detail
-
remoteAddress
public void remoteAddress(TransportAddress remoteAddress)
-
remoteAddress
public TransportAddress remoteAddress()
-
-