for (int i = 0; i < instanceCount; i++) {
MInstance anInst = (MInstance) instanceArray.objectAtIndex(i);
commandWotaskd.addObject(new NSDictionary(new Object[] { anInst.applicationName(), anInst.id(),
anInst.hostName(), anInst.port() }, commandInstanceKeys));
}
monitorRequest.takeValueForKey(commandWotaskd, "commandWotaskd");
WOResponse[] responses = collector.sendRequest(monitorRequest, wotaskdArray, false);
NSDictionary[] responseDicts = collector.generateResponseDictionaries(responses);
if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupDeployment)) {
NSLog.debug.appendln("OUT: " + NSPropertyListSerialization.stringFromPropertyList(monitorRequest) + "\n\nIN: " + NSPropertyListSerialization.stringFromPropertyList(new NSArray(responseDicts)));