/**
* This method is responsible for executing a daemon on the agent.
*/
private void processDAEMONSTART_REQUEST(DataInputStream in, DataOutputStream out) {
TestObject test=new TestObject();
String eol = System.getProperty("line.separator");
try {
ConsoleServer.debugMsg("Processing DAEMONSTART_REQUEST",1);
// read the serialized TestObject which we will execute
test.readObject(in);
// now send a signal indicating we are processing the request
sendSignal(out,ProtocolConstants.RESPONSE_PROCESSING);
// create details about our agent to use in the trace file created by the ExecProcess object
String details = "Local Address : "+socket.getLocalAddress().toString()+eol+
"Port Number : "+portNo+eol+