Difference between revisions of "SharedMemory"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Barrymavin (Talk | contribs) (→Properties) |
||
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==== |
Revision as of 11:30, 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 |
Events
This class supports the following events:
Event | Args | Description |
---|