X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.direct.RemotingProvider.html diff --git a/docs/output/Ext.direct.RemotingProvider.html b/docs/output/Ext.direct.RemotingProvider.html index 19814e60..2c25ead2 100644 --- a/docs/output/Ext.direct.RemotingProvider.html +++ b/docs/output/Ext.direct.RemotingProvider.html @@ -1,4 +1,4 @@ -
Observable Provider JsonProvider RemotingProvider
Package: | Ext.direct |
Defined In: | RemotingProvider.js |
Class: | RemotingProvider |
Extends: | JsonProvider |
The RemotingProvider exposes access to +
Observable Provider JsonProvider RemotingProvider
Package: | Ext.direct |
Defined In: | RemotingProvider.js |
Class: | RemotingProvider |
Extends: | JsonProvider |
The RemotingProvider exposes access to server side methods on the client (a remote procedure call (RPC) type of connection where the client can initiate a procedure on the server).
This allows for code to be organized in a fashion that is maintainable, @@ -56,7 +56,7 @@ to wait before sending a batched request (defaults to 10).
concatenated together and sent in a single request, optimizing the application by reducing the amount of round trips that have to be made to the server.Property | Defined By | |
---|---|---|
connect : Object Abstract methods for subclasses to implement. | Provider | |
disconnect : Object Abstract methods for subclasses to implement. | Provider |
Method | Defined By | |
---|---|---|
addEvents( Object object )
+ | Provider | |
url : String Required. The url to connect to the Ext.Direct server-side router. | RemotingProvider |
Property | Defined By | |
---|---|---|
connect : Object Abstract methods for subclasses to implement. | Provider | |
disconnect : Object Abstract methods for subclasses to implement. | Provider |
Method | Defined By | |
---|---|---|
addEvents( Object|String o , string Optional. )
:
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| Observable | |
enableBubble( Object events )
+'click' : this.onClick,
+'mouseover' : this.onMouseOver,
+'mouseout' : this.onMouseOut,
+ scope: this
+});Returns:
| Observable | |
enableBubble( String/Array events )
:
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
+ voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
+this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling
+ This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to +access the required target more quickly. +Example:
Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse... Fires the specified event with the passed parameters (minus the event name). An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by calling enableBubble. Parameters:
| Observable | |
hasListener( String eventName )
:
- BooleanChecks to see if this object has any listeners for a specified event Checks to see if this object has any listeners for a specified event Parameters:
| Observable | |
isConnected()
+ Boolean Checks to see if this object has any listeners for a specified event Checks to see if this object has any listeners for a specified event Parameters:
| Observable | |
isConnected()
:
void Returns whether or not the server-side is currently connected.
Abstract method for subclasses to implement. Returns whether or not the server-side is currently connected.
@@ -231,12 +265,12 @@ executing. Liste
( Ext.direct.RemotingProvider provider , Ext.Direct.Transaction transaction )
Fires immediately after the request to the server-side is sent. This does
NOT fire after the response has come back ... Fires immediately after the request to the server-side is sent. This does
-NOT fire after the response has come back from the call. Listeners will be called with the following arguments:
| RemotingProvider | |
connect :
+NOT fire after the response has come back from the call. Listeners will be called with the following arguments:
| RemotingProvider | |
connect :
( Ext.direct.Provider provider )
- Fires when the Provider connects to the server-side Fires when the Provider connects to the server-side Listeners will be called with the following arguments:
| Provider | |
data :
+ Fires when the Provider connects to the server-side Fires when the Provider connects to the server-side Listeners will be called with the following arguments:
| Provider | |
data :
( Ext.direct.Provider provider , event e )
- Fires when the Provider receives data from the server-side Fires when the Provider receives data from the server-side Listeners will be called with the following arguments:
| Provider | |
disconnect :
+ Fires when the Provider receives data from the server-side Fires when the Provider receives data from the server-side Listeners will be called with the following arguments:
| Provider | |
disconnect :
( Ext.direct.Provider provider )
- Fires when the Provider disconnects from the server-side Fires when the Provider disconnects from the server-side Listeners will be called with the following arguments:
| Provider | |
exception :
+ Fires when the Provider disconnects from the server-side Fires when the Provider disconnects from the server-side Listeners will be called with the following arguments:
| Provider | |
exception :
()
Fires when the Provider receives an exception from the server-side Fires when the Provider receives an exception from the server-side Listeners will be called with the following arguments:
| Provider |