Package org.hobbit.core.components.test
Class InMemoryEvaluationStore.ResultImpl
java.lang.Object
org.hobbit.core.components.test.InMemoryEvaluationStore.ResultImpl
- All Implemented Interfaces:
Result
- Enclosing class:
- InMemoryEvaluationStore
A simple structure implementing the
Result interface- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()longvoidsetData(byte[] data) voidsetSentTimestamp(long sentTimestamp)
-
Field Details
-
sentTimestamp
private long sentTimestamp -
data
private byte[] data
-
-
Constructor Details
-
ResultImpl
public ResultImpl(long sentTimestamp, byte[] data)
-
-
Method Details
-
setSentTimestamp
public void setSentTimestamp(long sentTimestamp) -
setData
public void setData(byte[] data) -
getSentTimestamp
public long getSentTimestamp()- Specified by:
getSentTimestampin interfaceResult
-
getData
public byte[] getData()
-