public class BytesTransportRequest extends TransportRequest
TransportRequest.Empty
Constructor and Description |
---|
BytesTransportRequest() |
BytesTransportRequest(BytesReference bytes,
Version version) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
bytes() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
Version |
version() |
void |
writeThin(StreamOutput out)
Writes the data in a "thin" manner, without the actual bytes, assumes
the actual bytes will be appended right after this content.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public BytesTransportRequest()
public BytesTransportRequest(BytesReference bytes, Version version)
public Version version()
public BytesReference bytes()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportRequest
java.io.IOException
public void writeThin(StreamOutput out) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class TransportRequest
java.io.IOException