|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.mdms.FileService.spider.api.SpiderFei
public class SpiderFei
| Constructor Summary | |
|---|---|
SpiderFei(String user,
String passwd,
String fileType,
String localPath,
boolean autoDelete)
Constructor. |
|
SpiderFei(String user,
String passwd,
String srvGrpName,
String fileType,
String localPath,
boolean autoDelete)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addResultToDataParts(Result r)
Adds an FEI Result object to the Spider DataParts list. |
void |
addResultToDataSink(Result r)
adds an FEI Result object to the Spider DataSink list. |
void |
addResultToDataSource(Result r)
Adds an FEI Result object to the Spider DataSource list. |
void |
halt()
Deprecated. This does not guarantee that all result had been pulled before closing the FEI connection. |
void |
publish(String fn)
Transfer the specied file to FEI. |
void |
setDataParts(ProductAvailableType prodAvail)
Writes the DataParts list to the specified ProductAvailable object |
void |
setDataParts(ProductAvailableType prodAvail,
ArrayList results)
Writes the DataParts of the specified ProductAvailable object according to the specified List of FEI Results objects. |
void |
setDataSink(ProductAvailableType prodAvail)
Writes the DataSink list to the specified ProductAvailable object |
void |
setDataSink(ProductAvailableType prodAvail,
ArrayList results)
Writes the DataSink of the specified ProductAvailable object according to the specified List of FEI Results objects. |
void |
setDataSource(ProcessInitType procInit)
Writes the DataSource list to the specified ProcessInit object |
void |
setDataSource(ProcessInitType procInit,
ArrayList results)
Writes the DataSource of the specified ProcessInit object according to the specified List of FEI Results objects. |
void |
setDataSource(ProductAvailableType prodAvail)
Writes the DataSource list to the specified ProductAvailable object |
void |
setDataSource(ProductAvailableType prodAvail,
ArrayList results)
Writes the DataSource of the specified ProductAvailable object according to the specified List of FEI Results objects. |
void |
startResultsManager()
Initialize and start the Results Collection Thread. |
void |
stopResultsManager()
Terminate the Results Collection Thread. |
void |
terminate()
Close the FEI object nicely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpiderFei(String user,
String passwd,
String fileType,
String localPath,
boolean autoDelete)
user - FEI usernamepasswd - FEI passwordfileType - FEI filetype to talk tolocalPath - PATH to where the message files are stored on diskautoDelete - Turns ON/OFF clean up of message file after successful
trasferr to FEI
public SpiderFei(String user,
String passwd,
String srvGrpName,
String fileType,
String localPath,
boolean autoDelete)
user - FEI usernamepasswd - FEI passwordsrvGrpName - FEI server group name, which includes the specified filetypefileType - FEI filetype to talk tolocalPath - PATH to where the message files are stored on diskautoDelete - Turns ON/OFF clean up of message file after successful
trasferr to FEI| Method Detail |
|---|
public void startResultsManager()
public void stopResultsManager()
public void addResultToDataSource(Result r)
r - FEI Result objectpublic void addResultToDataParts(Result r)
r - FEI Result objectpublic void addResultToDataSink(Result r)
r - FEI Result objectpublic void setDataSource(ProcessInitType procInit)
procInit - Spider XML schema generated ProcessInit objectpublic void setDataSource(ProductAvailableType prodAvail)
prodAvail - Spider XML schema generated ProductAvailable objectpublic void setDataParts(ProductAvailableType prodAvail)
prodAvail - Spider XML schema generated ProductAvailable objectpublic void setDataSink(ProductAvailableType prodAvail)
prodAvail - Spider XML schema generated ProductAvailable object
public void setDataSource(ProcessInitType procInit,
ArrayList results)
procInit - spider XML schema generated ProcessInitresults - list of FEI Result objects
public void setDataSource(ProductAvailableType prodAvail,
ArrayList results)
prodAvail - spider XML schema generated ProductAvailableresults - list of FEI Result objects
public void setDataParts(ProductAvailableType prodAvail,
ArrayList results)
prodAvail - spider XML schema generated ProductAvailableresults - list of FEI Result objects
public void setDataSink(ProductAvailableType prodAvail,
ArrayList results)
prodAvail - spider XML schema generated ProductAvailableresults - list of FEI Result objectspublic void publish(String fn)
fn - the filename to be transferred. (no PATH info here)public void terminate()
public void halt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||