Package net.anotheria.asg.service.remote
Class EchoResponse
- java.lang.Object
-
- net.anotheria.asg.service.remote.EchoResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class EchoResponse extends java.lang.Object implements java.io.SerializableResponse 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 fielddata.longgetResponseTime()Getter for the fieldresponseTime.voidsetData(byte[] data)Setter for the fielddata.voidsetResponseTime(long responseTime)Setter for the fieldresponseTime.
-
-
-
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.
-
-