com.platform.ego
Interface AllocationCallbackHandler


public interface AllocationCallbackHandler

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

Version:
1.2.3

Method Summary
 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.
 

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

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

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


Copyright (C) 1992-2007 Platform Computing Corporation