Cisco Systems Inc. Confidential

com.pcube.management.framework.rpc
Interface ResultHandler


public interface ResultHandler

To be implementd by non blocking API users who wish to accept results


Method Summary
 void handleError(long handle, java.lang.Object result)
          handle a failure result success is defined by: no communication error, and no exception thrown on the server side)
 void handleSuccess(long handle, java.lang.Object result)
          handle a successful result success is defined by: no communication error, and no exception thrown on the server side)
 

Method Detail

handleSuccess

void handleSuccess(long handle,
                   java.lang.Object result)
handle a successful result success is defined by: no communication error, and no exception thrown on the server side)

Parameters:
handle - the handle as provided by the non blocking method
result -

handleError

void handleError(long handle,
                 java.lang.Object result)
handle a failure result success is defined by: no communication error, and no exception thrown on the server side)

Parameters:
handle - the handle as provided by the non blocking method
result -

Cisco Systems Inc. Confidential