套件 | coldfusion.service |
類別 | public class BasicService |
繼承 | BasicService InternalConfig Object |
實作 | IEventDispatcher, IMXMLObject |
子類別 | Chart, Document, Image, Ldap, Mail, Pdf, Pop |
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
屬性 | 定義自 | ||
---|---|---|---|
action : String
Action string for the service. | BasicService | ||
cfContextRoot : String
Context root of the ColdFusion server. | InternalConfig | ||
cfPort : int
Port where the ColdFusion server is running. | InternalConfig | ||
cfServer : String
Name or IP address of the ColdFusion server. | InternalConfig | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
destination : String
Specifies the destination for the remoting call. | InternalConfig | ||
secureHttp : Boolean
Boolean value that specifies if secure HTTP is used:
yes: uses secure HTTP
no: does not use secure HTTP
| InternalConfig | ||
servicePassword : String
Password to access ColdFusion services. | InternalConfig | ||
serviceUserName : String
Username to access ColdFusion services. | InternalConfig |
方法 | 定義自 | ||
---|---|---|---|
BasicService(source:String)
The constructor that accepts the source CFC on the ColdFusion-side of the service. | BasicService | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | BasicService | ||
Dispatches an event into the event flow. | BasicService | ||
Returns the RemoteObject instance used by the proxy classes to make the
remote object call. | BasicService | ||
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. | BasicService | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Removes a listener from the EventDispatcher object. | BasicService | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its
ancestors for the specified event type. | BasicService |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
Dispatched when a ColdFusion service call fails. | BasicService | |||
Dispatched when a ColdFusion service call returns successfully. | BasicService |
action | 屬性 |
public var action:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Action string for the service.
BasicService | () | 建構函式 |
addEventListener | () | 方法 |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
參數
type:String — The type of event.
| |
listener:Function — The listener function that processes the event.
| |
useCapture:Boolean (default = false ) — Determines whether the listener works in the capture phase or the target and bubbling phases:
| |
priority:int (default = 0 ) — The priority level of the event listener. The priority is designated by a signed 32-bit integer.
| |
useWeakReference:Boolean (default = false ) — Determines whether the reference to the listener is strong or weak.
|
dispatchEvent | () | 方法 |
public function dispatchEvent(evt:Event):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Dispatches an event into the event flow.
參數
evt:Event — The Event object that is dispatched into the event flow.
If the event is being redispatched, a clone of the event is created automatically.
|
Boolean — A value of true if the event was successfully dispatched.
A value of false indicates failure or that preventDefault() was called on the event.
|
getRemoteObject | () | 方法 |
public function getRemoteObject():RemoteObject
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Returns the RemoteObject
instance used by the proxy classes to make the
remote object call.
RemoteObject |
hasEventListener | () | 方法 |
public function hasEventListener(type:String):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. This allows you to determine where an
EventDispatcher object has altered handling of an event type in the event flow hierarchy.
To determine whether a specific event type actually triggers an event listener, use willTrigger()
.
參數
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type is registered;
false otherwise.
|
removeEventListener | () | 方法 |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Removes a listener from the EventDispatcher object.
參數
type:String — The type of event.
| |
listener:Function — The listener object to remove.
| |
useCapture:Boolean (default = false ) — Specifies whether the listener was registered for the capture phase
or the target and bubbling phases.
|
willTrigger | () | 方法 |
public function willTrigger(type:String):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
參數
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type will be triggered;
false otherwise.
|
fault | 事件 |
coldfusion.service.events.ColdFusionServiceFaultEvent
屬性 ColdFusionServiceFaultEvent.type =
coldfusion.service.events.ColdFusionServiceFaultEvent.FAULT
Dispatched when a ColdFusion service call fails.
Defines the value of theType
property of a ColdFusionServiceFaultEvent object.
result | 事件 |
coldfusion.service.events.ColdFusionServiceResultEvent
屬性 ColdFusionServiceResultEvent.type =
coldfusion.service.events.ColdFusionServiceResultEvent.RESULT
Dispatched when a ColdFusion service call returns successfully.
The RESULT event type.Tue Jun 12 2018, 03:47 PM Z