com.dell.cpsd.service.common.client.callback.IServiceCallback Maven / Gradle / Ivy
/**
* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
* Dell EMC Confidential/Proprietary Information
*/
package com.dell.cpsd.service.common.client.callback;
/**
* This interface should be implemented by any class that acts as a callback for a service request.
*
*
* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
* Dell EMC Confidential/Proprietary Information
*
*
* @version 1.0
*
* @since 1.0
*/
public interface IServiceCallback>
{
/**
* This handles a service error. The result is contained in the ServiceError.
*
* @param error
* Service error to be handled
*/
void handleServiceError(ServiceError error);
/**
* This handles a service timeout. The result is contained in the ServiceTimeout.
*
* @param timeout
* The ServiceTimeout with the timeout.
*
* @since 1.0
*/
void handleServiceTimeout(ServiceTimeout timeout);
/**
* This handles the service response.
*
* @param serviceResponse
* The service response.
*
* @since 1.0
*/
void handleServiceResponse(T serviceResponse);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy