public abstract class TransportRequest extends TransportMessage implements TaskAwareRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
TransportRequest.Empty |
| Constructor and Description |
|---|
TransportRequest() |
| Modifier and Type | Method and Description |
|---|---|
TaskId |
getParentTask()
Get a reference to the task that created this request.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
void |
setParentTask(TaskId taskId)
Set a reference to task that created this request.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
remoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic void setParentTask(TaskId taskId)
setParentTask in interface TaskAwareRequestpublic TaskId getParentTask()
TaskId.EMPTY_TASK_ID, meaning "there is no parent".getParentTask in interface TaskAwareRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportMessagejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class TransportMessagejava.io.IOException