Package com._1c.g5.v8.dt.natives.library
Class ScomDataConnection
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.ScomDataConnection
-
public class ScomDataConnection extends Object
Special class for holding SCOM process data with necessary components from native code.
The SCOM process will be initialized in constructor of this class.
Clients should manage life cycle of SCOM process data - for destroying data callrelease()
in appropriate time. After destroying anything call ofScomProcessDataConnection#getScomData()
returnnull
.
Be carefully - creation instance of this class is heavy operation.
-
-
Constructor Summary
Constructors Constructor Description ScomDataConnection(INativeScomProcessDataConnection scomDataConnection)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getScomData()
Gets actual SCOM process data address with necessary componentsvoid
release()
Frees memory of SCOM process Data (special v8 mechanism for loading different components)
-
-
-
Constructor Detail
-
ScomDataConnection
public ScomDataConnection(INativeScomProcessDataConnection scomDataConnection)
Constructor- Parameters:
scomDataConnection
- special interface for getting address SCOM process data from native code, can't benull
-
-
Method Detail
-
getScomData
public long getScomData()
Gets actual SCOM process data address with necessary components- Returns:
- actual SCOM process data address with necessary components or
null
ifrelease()
has been called earlier
-
release
public void release()
Frees memory of SCOM process Data (special v8 mechanism for loading different components)
-
-