All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.asg.service.remote.EchoResponse Maven / Gradle / Ivy

package net.anotheria.asg.service.remote;

import java.io.Serializable;

/**
 * Response to an echo request.
 *
 * @author another
 * @version $Id: $Id
 */
public class EchoResponse implements Serializable{
	/**
	 * SerialVersionUID.
	 */
	private static final long serialVersionUID = 6461115896678559676L;
	//TODO ? wie berechnet?
	/**
	 * Duration of the response.
	 */
	private long responseTime;
//	private String serviceClass;
	/**
	 * Sent data.
	 */
	private byte[] data;
	
	/**
	 * 

Getter for the field responseTime.

* * @return a long. */ public long getResponseTime() { return responseTime; } /** *

Setter for the field responseTime.

* * @param responseTime a long. */ public void setResponseTime(long responseTime) { this.responseTime = responseTime; } /** *

Getter for the field data.

* * @return an array of byte. */ public byte[] getData() { return data; } /** *

Setter for the field data.

* * @param data an array of byte. */ public void setData(byte[] data) { this.data = data; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy