|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataEventListener
Interface that can be implemented by a service to receive messages from
a DataStagerManager. All methods here take a DataStagerManager
argument. These managers are initialised by the data service with the
EPR of the resource that owns the data stagers. This allows the service
to find out which owning resource should be used to report usage.
| Method Summary | |
|---|---|
void |
dataStagerAddCumulativeUsageReport(DataStagerManager manager,
Metric metric,
double value)
Called when a data stager generates a cumulative usage report such as an update in the amount of data transfer used. |
void |
dataStagerContinueActivity(DataStagerManager manager,
org.apache.axis.message.addressing.EndpointReferenceType stagerEPR,
Constraint[] constraints)
Called when a data stager makes a continueActivity request. |
void |
dataStagerInstantaneousUsageChanged(DataStagerManager manager,
Metric metric)
Called when a data stager generates an instantaneous usage report. |
void |
dataStagerStartActivity(DataStagerManager manager,
Constraint[] constraints,
UsageReport[] usageReports)
Called when a data stager makes a startActivity request. |
| Method Detail |
|---|
void dataStagerStartActivity(DataStagerManager manager,
Constraint[] constraints,
UsageReport[] usageReports)
manager - The DataStagerManager that is responsible for the stager.constraints - An array of constraints that must be satisfied if the
stager is to be created successfully.usageReports - An array of initial usage reports.
void dataStagerContinueActivity(DataStagerManager manager,
org.apache.axis.message.addressing.EndpointReferenceType stagerEPR,
Constraint[] constraints)
throws RemoteException
manager - The DataStagerManager that is responsible for the stager.stagerEPR - constraints - An array of constraints that must be satisfied.
RemoteException
void dataStagerAddCumulativeUsageReport(DataStagerManager manager,
Metric metric,
double value)
manager - The DataStagerManager that is responsible for the stager.metric - The metric type of the resource being usedvalue - The cumulative increase in use of the metric
void dataStagerInstantaneousUsageChanged(DataStagerManager manager,
Metric metric)
throws RemoteException
manager - The DataStagerManager that is responsible for the stager.metric - The metric type of the resource being used
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||