com.platform.ego
Interface ClientCallbackHandler


public interface ClientCallbackHandler

The interface give user a chance to define how to handle notifications of client.

Version:
1.2.3

Method Summary
 int onActivityStateChange(ActivityStateChange activityChange)
          The operation notifies the EGO client that activity state has been changed.
 int onAddResource(AllocReply allocreply)
          This operation notifies the EGO client that resources have been added to an allocation.
 int onHostStateChange(ResourceStateChange resourceChange)
          This operation notifies the EGO client that resource state has been changed.
 int onReclaimForce(AllocReclaim allocreclaim)
          This operation notifies the EGO client that resources have been reclaimed from a particular allocation.
 int onServiceInstanceStateChange(ServiceInstanceStateChange instanceChange)
          The operation notifies the EGO client that service instance state has been changed.
 int onServiceStateChange(ServiceStateChange servicechange)
          The operation notifies the EGO client that service state has been changed.
 

Method Detail

onAddResource

int onAddResource(AllocReply allocreply)
This operation notifies the EGO client that resources have been added to an allocation.

Parameters:
allocreply - : allocation reply message content.
Returns:
success or fail

onReclaimForce

int onReclaimForce(AllocReclaim allocreclaim)
This operation notifies the EGO client that resources have been reclaimed from a particular allocation.

Parameters:
allocreclaim - : allocation reclaim message content.
Returns:
success or fail

onHostStateChange

int onHostStateChange(ResourceStateChange resourceChange)
This operation notifies the EGO client that resource state has been changed.

Parameters:
resourceChange - : host state change message content.
Returns:
success or fail

onActivityStateChange

int onActivityStateChange(ActivityStateChange activityChange)
The operation notifies the EGO client that activity state has been changed.

Parameters:
activityChange - : activity state change message content.
Returns:
success or fail

onServiceStateChange

int onServiceStateChange(ServiceStateChange servicechange)
The operation notifies the EGO client that service state has been changed.

Parameters:
servicechange - : service state change message content.
Returns:
success or fail

onServiceInstanceStateChange

int onServiceInstanceStateChange(ServiceInstanceStateChange instanceChange)
The operation notifies the EGO client that service instance state has been changed.

Parameters:
instanceChange - : service instance state change message content.
Returns:
success or fail


Copyright (C) 1992-2007 Platform Computing Corporation