Class NetworkMessage

java.lang.Object
org.elasticsearch.transport.NetworkMessage

public abstract class NetworkMessage
extends java.lang.Object
Represents a transport message sent over the network. Subclasses implement serialization and deserialization.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected long requestId  
    protected byte status  
    protected Writeable threadContext  
    protected Version version  
  • Method Summary

    Modifier and Type Method Description
    long getRequestId()  
    Version getVersion()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • version

      protected final Version version
    • threadContext

      protected final Writeable threadContext
    • requestId

      protected final long requestId
    • status

      protected final byte status
  • Method Details

    • getVersion

      public Version getVersion()
    • getRequestId

      public long getRequestId()