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, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic BytesTransportRequest()
public BytesTransportRequest(BytesReference bytes, Version version)
public Version version()
public BytesReference bytes()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportRequestjava.io.IOExceptionpublic void writeThin(StreamOutput out) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class TransportRequestjava.io.IOException