Class AbstractSimpleTransportTestCase.StringMessageRequest
java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.transport.TransportRequest
org.opensearch.transport.AbstractSimpleTransportTestCase.StringMessageRequest
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.tasks.TaskAwareRequest
- Enclosing class:
AbstractSimpleTransportTestCase
public static class AbstractSimpleTransportTestCase.StringMessageRequest
extends org.opensearch.transport.TransportRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportRequest
org.opensearch.transport.TransportRequest.EmptyNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionStringMessageRequest(String message) StringMessageRequest(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Methods inherited from class org.opensearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.opensearch.core.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
StringMessageRequest
- Throws:
IOException
-
StringMessageRequest
-
-
Method Details
-
timeout
public long timeout() -
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Overrides:
writeToin classorg.opensearch.transport.TransportRequest- Throws:
IOException
-