|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpl.mipl.mdms.FileService.spider.api.SpiderFei
public class SpiderFei
Constructor Summary | |
---|---|
SpiderFei(java.lang.String user,
java.lang.String passwd,
java.lang.String fileType,
java.lang.String localPath,
boolean autoDelete)
Constructor. |
|
SpiderFei(java.lang.String user,
java.lang.String passwd,
java.lang.String srvGrpName,
java.lang.String fileType,
java.lang.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(java.lang.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,
java.util.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,
java.util.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,
java.util.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,
java.util.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(java.lang.String user, java.lang.String passwd, java.lang.String fileType, java.lang.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 FEIpublic SpiderFei(java.lang.String user, java.lang.String passwd, java.lang.String srvGrpName, java.lang.String fileType, java.lang.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 FEIMethod 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 objectpublic void setDataSource(ProcessInitType procInit, java.util.ArrayList results)
procInit
- spider XML schema generated ProcessInitresults
- list of FEI Result objectspublic void setDataSource(ProductAvailableType prodAvail, java.util.ArrayList results)
prodAvail
- spider XML schema generated ProductAvailableresults
- list of FEI Result objectspublic void setDataParts(ProductAvailableType prodAvail, java.util.ArrayList results)
prodAvail
- spider XML schema generated ProductAvailableresults
- list of FEI Result objectspublic void setDataSink(ProductAvailableType prodAvail, java.util.ArrayList results)
prodAvail
- spider XML schema generated ProductAvailableresults
- list of FEI Result objectspublic void publish(java.lang.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 |