com.esri.core.portal
Interface PortalListener<T>

Type Parameters:
T - the generic type

Deprecated.

@Deprecated
public interface PortalListener<T>

Implement this interface to handle the returned result from an asychronous call. The type of object the interface will return in the onCallback method.

Since:
1.0

Method Summary
 void onCallback(T obj)
          Deprecated. Handles the result when the call succeeded.
 void onError(Throwable e)
          Deprecated. Handles the result when the call failed.
 

Method Detail

onCallback

void onCallback(T obj)
Deprecated. 
Handles the result when the call succeeded.

Parameters:
obj - the result of a successful task call.
Since:
1.0

onError

void onError(Throwable e)
Deprecated. 
Handles the result when the call failed.

Parameters:
e - the exception caught in the task perform.
Since:
1.0


Copyright © 2012. All Rights Reserved.