Class MmfProcessLauncher
java.lang.Object
com._1c.g5.v8.dt.internal.pm.connection.mmf.MmfProcessLauncher
- All Implemented Interfaces:
IProcessLauncher
IProcessLauncher
implementation for memory - mapped file connection.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Cleanup process temporary fileslaunchProcess
(ProcessBinder processBinder, IProcessConnectionListener listener) Launches process with parameters specified in givenProcessBinder
.
-
Constructor Details
-
MmfProcessLauncher
public MmfProcessLauncher()
-
-
Method Details
-
launchProcess
public Process launchProcess(ProcessBinder processBinder, IProcessConnectionListener listener) throws IOException Description copied from interface:IProcessLauncher
Launches process with parameters specified in givenProcessBinder
. Starts establishing connection with lauhced process. Established connection is provided to givenIProcessConnectionListener
during or after this method invocation.- Specified by:
launchProcess
in interfaceIProcessLauncher
- Parameters:
processBinder
- givenProcessBinder
(notnull
)listener
- givenIProcessConnectionListener
, to which established connection is provided during or after this method invocation (notnull
)- Returns:
- lauched process. When connection is closed, must be killed (not
null
) - Throws:
IOException
- if launching process failed
-
clean
Description copied from interface:IProcessLauncher
Cleanup process temporary files- Specified by:
clean
in interfaceIProcessLauncher
- Parameters:
key
- the unique process wrapper key, cannot benull
-