public ParameterHolder getTheParams() {
return theParams;
}
//This is intended for debugging but works well to be just called to save code duplication
public static String getRequestMessage(String agentName, ParameterHolder theParams, String theTaskSpec) {
BinaryPayload P = new BinaryPayload();
P.writeRawString(agentName);
if (theParams == null) {
P.writeRawString("NULL");
} else {
P.writeRawString(theParams.stringSerialize());
}
P.writeRawString(theTaskSpec);
String payLoadString = P.getAsEncodedString();
return AbstractMessage.makeMessage(
MessageUser.kAgentShell.id(),
MessageUser.kBenchmark.id(),
AgentShellMessageType.kAgentShellTaskSpecCompat.id(),