new ObjectReceiver(signal, slot, priority [, autoDisconnect] [, order])
This object defines a receiver definition in an object definition.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
signal |
string | The |
||
slot |
string | The |
||
priority |
number | 0} | Determines the priority level of the receiver. |
|
autoDisconnect |
boolean |
<optional> |
false | Indicate if the receiver is auto disconnect in the signal when is used. |
order |
string |
<optional> |
after | Indicates the order to connect the receiver "after" or "before" (see the system.ioc.ObjectOrder enumeration class). |
Members
-
<static, constant> AUTO_DISCONNECT :string
-
Defines the
"autoDisconnect"
attribute in a receiver object definition.Type:
- string
- Default Value:
-
- autoDisconnect
-
<static, constant> ORDER :string
-
Defines the
"order" attribute in a receiver object definition.
Type:
- string
- Default Value:
-
- order
-
<static, constant> PRIORITY :string
-
Defines the
"priority"
attribute in a receiver object definition.Type:
- string
- Default Value:
-
- priority
-
<static, constant> SIGNAL :string
-
Defines the
"signal"
attribute in a receiver object definition.Type:
- string
- Default Value:
-
- signal
-
<static, constant> SLOT :string
-
Defines the
"slot"
attribute in a receiver object definition.Type:
- string
- Default Value:
-
- slot
-
autoDisconnect :boolean
-
Indicates if the receiver (slot) is auto disconnect by the signal.
Type:
- boolean
- Default Value:
-
- false
-
order :string
-
Determinates the order of the receiver registration ('after' or by default 'before').
Type:
- string
- Default Value:
-
- after
-
priority :number
-
Determines the priority level of the signal connection.
Type:
- number
- Default Value:
-
- 0
-
signal :string
-
The identifier of the signal to connect in the IoC factory.
Type:
- string
-
slot :string
-
The identifier of the receiver of function to connect in the IoC factory.
Type:
- string
Methods
-
toString()
-
Returns the string representation of this instance.
Returns:
the string representation of this instance.