com.sage.swt.client.sdata
Interface ServiceOperationCallback

All Known Implementing Classes:
AbstractServiceOperationCallback, DefaultCallback, DefaultServiceOperationCallback, ServiceOperationCallbackProxy

public interface ServiceOperationCallback

Callback interface for a ServiceOperation.


Method Summary
 void onCancel(ServiceOperationEvent event)
          Notification that the service operation call (invoke) was canceled.
 void onFailure(ServiceOperationEvent event, java.lang.Throwable exc)
          Notification that the service operation failed.
 void onSuccess(ServiceOperationEvent event)
          Notification that the service operation call completed successfully.
 

Method Detail

onSuccess

void onSuccess(ServiceOperationEvent event)
Notification that the service operation call completed successfully.

Parameters:
event - The service operation event object. This event object has information about the service operation and the data retrieved as a result of its call (whether that call be an invocation or a "getDefaults" call).

onFailure

void onFailure(ServiceOperationEvent event,
               java.lang.Throwable exc)
Notification that the service operation failed.

Parameters:
event - The service operation event object. This event object has information about the service operation.
exc - The exception accompanying the failure.

onCancel

void onCancel(ServiceOperationEvent event)
Notification that the service operation call (invoke) was canceled.

Parameters:
event - The service operation event object. This event object has information about the service operation.


Copyright © 2011 Sage Software, Inc. All rights reserved.