edu.wpi.prc.templates.java.validator
Class SpotCheck
java.lang.Object
edu.wpi.prc.templates.java.validator.SpotCheck
public class SpotCheck
- extends java.lang.Object
Stores all spot-check information needed by the result validator.
- Author:
- James Baldassari
Constructor Summary |
SpotCheck(java.lang.String resultID,
byte[] clientData,
byte[] acceptedData)
Constructor specifying all memebers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultID
private final java.lang.String resultID
clientData
private final byte[] clientData
acceptedData
private final byte[] acceptedData
SpotCheck
public SpotCheck(java.lang.String resultID,
byte[] clientData,
byte[] acceptedData)
- Constructor specifying all memebers.
- Parameters:
resultID
- The ID of this result.clientData
- The result data computed by the client.acceptedData
- The accepted result data computed by the project server.
getResultID
public java.lang.String getResultID()
- Returns:
- Returns the ID of this result.
getClientData
public byte[] getClientData()
- Returns:
- Returns the result data computed by the client.
getAcceptedData
public byte[] getAcceptedData()
- Returns:
- Returns the accepted result data computed by the project server.