|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class implementing this interface is able to start a UniversalProcess and to connect its input/output to handlers or to close all streams.
Field Summary |
Fields inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
logger, UNKNOWN_NODE_NUMBER |
Method Summary | |
void |
closeStream()
Closes Input, Output, Error stream just after forking this process |
int |
getCompositionType()
Returns the type of this process. |
RemoteProcessMessageLogger |
getErrorMessageLogger()
Returns the RemoteProcessMessageLogger handling the error stream of the process |
FileTransferWorkShop |
getFileTransferWorkShopDeploy()
This method returns a single FileTransferStructure instance for this process. |
FileTransferWorkShop |
getFileTransferWorkShopRetrieve()
This method returns a single FileTransferStructure instance for this process. |
RemoteProcessMessageLogger |
getInputMessageLogger()
Returns the RemoteProcessMessageLogger handling the input stream of the process |
MessageSink |
getOutputMessageSink()
Returns the MessageSink handling the output stream of the process |
void |
setErrorMessageLogger(RemoteProcessMessageLogger errorMessageLogger)
sets the RemoteProcessMessageLogger handling the error stream of the process |
void |
setInputMessageLogger(RemoteProcessMessageLogger inputMessageLogger)
sets the RemoteProcessMessageLogger handling the input stream of the process |
void |
setOutputMessageSink(MessageSink outputMessageSink)
sets the MessageSink handling the output stream of the process |
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
getCommand, getCommandPath, getEnvironment, getFinalProcess, getHostname, getNodeNumber, getProcessId, getUsername, isFinished, isHierarchical, isStarted, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, waitFor |
Method Detail |
public void closeStream()
public RemoteProcessMessageLogger getInputMessageLogger()
public RemoteProcessMessageLogger getErrorMessageLogger()
public MessageSink getOutputMessageSink()
public void setInputMessageLogger(RemoteProcessMessageLogger inputMessageLogger)
inputMessageLogger
- the handler of the input stream of the processpublic void setErrorMessageLogger(RemoteProcessMessageLogger errorMessageLogger)
errorMessageLogger
- the handler of the error stream of the processpublic void setOutputMessageSink(MessageSink outputMessageSink)
outputMessageSink
- the handler of the output stream of the processpublic FileTransferWorkShop getFileTransferWorkShopDeploy()
public FileTransferWorkShop getFileTransferWorkShopRetrieve()
public int getCompositionType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |