Package org.elasticsearch.transport
Class AbstractSimpleTransportTestCase.StringMessageRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
-
- All Implemented Interfaces:
Streamable,Writeable,TaskAwareRequest
- Enclosing class:
- AbstractSimpleTransportTestCase
public static class AbstractSimpleTransportTestCase.StringMessageRequest extends TransportRequest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description StringMessageRequest()StringMessageRequest(java.lang.String message)
-
Method Summary
Modifier and Type Method Description voidreadFrom(StreamInput in)longtimeout()voidwriteTo(StreamOutput out)-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
-
-
-
Method Detail
-
timeout
public long timeout()
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
- Specified by:
readFromin interfaceStreamable- Overrides:
readFromin classTransportRequest- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
- Specified by:
writeToin interfaceStreamable- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classTransportRequest- Throws:
java.io.IOException
-
-