API Documentation | All Packages | All Classes | Index | Frames No Frames |
ISequencePend

Package | org.fluint.sequence
Interface | public interface ISequencePend extends ISequenceStep
Implementors | SequenceBindingWaiter, SequenceWaiter

Interface defined by any step who's primary purpose is to pend (or wait) for an action to occur before continuing the test.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | eventName : String [read-only] The name of the event that this step is pending upon. | ISequencePend
|  | target : IEventDispatcher [read-only] The target eventDispatcher which the implementing classes will manipulate, use to boradcast events or listen to for events | ISequenceStep
|  | timeout : int [read-only] Time in milliseconds this operation is allowed before it is considered a failure. | ISequencePend
|  | timeoutHandler : Function [read-only] Event handler to call on a timeout. | ISequencePend

Public Methods

| Method | Defined By
--- | --- | ---
|  | setupListeners(testCase:*, sequence:SequenceRunner):void Called to cause implementors to setup their wait conditions. | ISequencePend

Property Detail

eventName | property

`eventName:String` [read-only]

The name of the event that this step is pending upon.

Implementation
`public function get eventName():String`

timeout | property |

`timeout:int` [read-only]

Time in milliseconds this operation is allowed before it is considered a failure.

Implementation
`public function get timeout():int`

timeoutHandler | property |

`timeoutHandler:Function` [read-only]

Event handler to call on a timeout.

Implementation
`public function get timeoutHandler():Function`
Method Detail

setupListeners | () | method

`public function setupListeners(testCase:*, sequence:SequenceRunner):void`

Called to cause implementors to setup their wait conditions.

Parameters

| `testCase:*`
| `sequence:SequenceRunner`

Thu Apr 10 2014, 08:07 AM +10:00