List fileList,
int fileListIndex) {
// For Jcron
if (messageClassName.endsWith(XmultraConfig.JCRON_MESSAGE)) {
JcronMessage jcronMessage = ((JcronMessage) fileList.get(fileListIndex));
// this.srcDir = jcronMessage.getSrcDir();
//// this.address = jcronMessage.getAddress();
// this.getSrcFile = jcronMessage.getSrcFile();
this.getDstDir = jcronMessage.getDstDir();
//// this.message = jcronMessage.getMessage();
this.minFileAge = jcronMessage.getMinFileAge();
this.minFileAgeUnits = jcronMessage.getMinFileAgeUnits();
this.maxFileAge = jcronMessage.getMaxFileAge();
this.maxFileAgeUnits = jcronMessage.getMaxFileAgeUnits();
this.deleteAfterRetrieval = jcronMessage.getDeleteAfterRetrieval();
this.messageNode = jcronMessage.getMessageNode();
this.getLocationsNode = xmlParseUtils.getChildNode(messageNode, XmultraConfig.GET_LOCATIONS_ELEMENT);
this.getSrcLocationNode = xmlParseUtils.getChildNode(getLocationsNode, XmultraConfig.GET_SRC_LOCATION_ELEMENT);
this.messageInserts = jcronMessage.getMessageInserts();
}
else {
// JdirWatch received a GetMessage file.
currentFile = (File)fileList.get(fileListIndex);