Class: Unlock

system.process. Unlock


new Unlock()

Invoked to unlock a specific Lockable object.

Invoked this action to unlock a specific Lockable object.

Example
var chain  = new system.process.Chain() ;
var unlock = new system.process.Unlock( chain ) ;

chain.lock() ;

unlock.run() ;

trace( chain.isLocked() ) ;

Extends

Members


<constant> finishIt :system.signals.Signal

This signal emit when the action is finished.

Type:
Inherited From:
Overrides:

<readonly> phase :string

Indicates the current phase.

Type:
  • string
Inherited From:
Overrides:
See:

<readonly> running :boolean

Indicates action is running.

Type:
  • boolean
Inherited From:
Overrides:

<constant> startIt :system.signals.Signal

This signal emit when the action is started.

Type:
Inherited From:
Overrides:

Methods


clone()

Creates a copy of the object.

Overrides:
Returns:

a shallow copy of this object.


isLocked()

Returns true if the object is locked.

Inherited From:
Overrides:
Implements:
Returns:

true if the object is locked.


lock()

Locks the object.

Inherited From:
Overrides:
Implements:

notifyFinished()

Notify when the process is finished.

Inherited From:
Overrides:

notifyStarted()

Notify when the process is started.

Inherited From:
Overrides:

run()

Run the process.

Overrides:

unlock()

Unlocks the object.

Inherited From:
Overrides:
Implements: