Class EchoResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class EchoResponse
    extends java.lang.Object
    implements java.io.Serializable
    Response to an echo request.
    Version:
    $Id: $Id
    Author:
    another
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EchoResponse()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getData()
      Getter for the field data.
      long getResponseTime()
      Getter for the field responseTime.
      void setData​(byte[] data)
      Setter for the field data.
      void setResponseTime​(long responseTime)
      Setter for the field responseTime.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EchoResponse

        public EchoResponse()
    • Method Detail

      • getResponseTime

        public long getResponseTime()

        Getter for the field responseTime.

        Returns:
        a long.
      • setResponseTime

        public void setResponseTime​(long responseTime)

        Setter for the field responseTime.

        Parameters:
        responseTime - a long.
      • getData

        public byte[] getData()

        Getter for the field data.

        Returns:
        an array of byte.
      • setData

        public void setData​(byte[] data)

        Setter for the field data.

        Parameters:
        data - an array of byte.