Difference between revisions of "SharedMemory"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Barrymavin (Talk | contribs) (→Events) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
====Methods==== | ====Methods==== | ||
Line 54: | Line 42: | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Framework Classes]] | [[Category:Framework Classes]] | ||
[[Category:Lianja v2.0]] | [[Category:Lianja v2.0]] |
Latest revision as of 11:31, 10 April 2019
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Methods
This class supports the following methods:
Method | Args | Description |
---|---|---|
Clear | None | Clears items |
Detach | None | Detaches from the currently attached shared memory segment |
Attach | key as Character [, size as Numeric] | Attaches to the shared memory segment specified in key of size size. The segment is created if it does not exist |
GetItem | item as Character | Gets the named item |
Lock | None | Lock the segment. This is handled automatically for individual items, but can be used (along with unlock()) for accessing multiple items. |
SetItem | item as Character, value as Expression | Sets the named item to the named value |
Unlock | item as Character, value as Expression | Unlock the segment |