Difference between revisions of "SharedMemory"

From Lianjapedia
Jump to: navigation, search
Line 67: Line 67:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Framework Classes]]
 
[[Category:Framework Classes]]
 +
[[Category:Lianja v2.0]]

Revision as of 08:06, 4 September 2015

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Properties

This class supports the following properties:

Property Access (R/RW) Value Description

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