org.atmosphere.gwt.client.impl
Interface XDomainRequestListener


public interface XDomainRequestListener

Author:
p.havelaar

Method Summary
 void onError(XDomainRequest request)
          Raised when there is an error that prevents the completion of the cross-domain request.
 void onLoad(XDomainRequest request, String responseText)
          Raised when the object has been completely received from the server.
 void onProgress(XDomainRequest request, String responseText)
          Raised when the browser starts receiving data from the server.
 void onTimeout(XDomainRequest request)
          Raised when there is an error that prevents the completion of the request.
 

Method Detail

onError

void onError(XDomainRequest request)
Raised when there is an error that prevents the completion of the cross-domain request.


onLoad

void onLoad(XDomainRequest request,
            String responseText)
Raised when the object has been completely received from the server.

Parameters:
responseText -

onProgress

void onProgress(XDomainRequest request,
                String responseText)
Raised when the browser starts receiving data from the server.

Parameters:
responseText - partial data received

onTimeout

void onTimeout(XDomainRequest request)
Raised when there is an error that prevents the completion of the request.



Copyright © 2011. All Rights Reserved.