Property | Defined by | ||
---|---|---|---|
async : Boolean = false Use async with a true value when your
mockGeneratorMethod will not immediately return a value
and your mockGenerator will dispatch a ResultEvent
or a FaultEvent
| MockMethod | ||
cache : Boolean = true | MockMethod | ||
dataUrl : String If you want the mock service to retrieve
data, usually in XML format, from a URL, supply this
property.
| MockMethod | ||
delay : int = -1 If you want to delay the result of this
service call, use the delay property with a value
greater than 0.
| MockMethod | ||
mockGenerator : Class
This is set at the parent Mock Service, but it is more
convenient to pass it to the operations.
| MockMethod | ||
mockGeneratorMethod : String Method to call on the mockGenerator.
| MockMethod | ||
name : String service method name
| MockMethod |
Method | Defined by | ||
---|---|---|---|
Constructor
| MockMethod |
async | property |
public var async:Boolean = false
Use async with a true value when your mockGeneratorMethod will not immediately return a value and your mockGenerator will dispatch a ResultEvent or a FaultEvent
cache | property |
public var cache:Boolean = true
dataUrl | property |
public var dataUrl:String
If you want the mock service to retrieve data, usually in XML format, from a URL, supply this property. Your mockGeneratorMethod will receive this data as the last argument of the function call
delay | property |
public var delay:int = -1
If you want to delay the result of this service call, use the delay property with a value greater than 0. Seconds.
mockGenerator | property |
public var mockGenerator:Class
This is set at the parent Mock Service, but it is more convenient to pass it to the operations. It might let us specify this at this level too
mockGeneratorMethod | property |
public var mockGeneratorMethod:String
Method to call on the mockGenerator. By default, this method is the same as the service method call
name | property |
public var name:String
service method name
MockMethod | () | constructor |
public function MockMethod()
Constructor