uk.ac.soton.itinnovation.grid.service.sla
Class UsageProducingService

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.sla.UsageProducingService
All Implemented Interfaces:
Producer<UsageReport>

public class UsageProducingService
extends Object
implements Producer<UsageReport>

Client stub to remote services that produce usage report messages.


Constructor Summary
UsageProducingService(ProxyFactory proxyFactory, String serviceEndpoint)
           
 
Method Summary
 Exception getException()
          Get Throwable caught while polling.
 Object getId()
           
 List<UsageReport> getMessages()
          Get all messages
 List<UsageReport> getMessages(int MaximumNumber)
          Get a maximum of numMessages messages.
 void setRemoteUsageService(ReportAPI ra)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsageProducingService

public UsageProducingService(ProxyFactory proxyFactory,
                             String serviceEndpoint)
Method Detail

setRemoteUsageService

public void setRemoteUsageService(ReportAPI ra)

getId

public Object getId()

getMessages

public List<UsageReport> getMessages()
                              throws RemoteException
Description copied from interface: Producer
Get all messages

Specified by:
getMessages in interface Producer<UsageReport>
Throws:
RemoteException

getMessages

public List<UsageReport> getMessages(int MaximumNumber)
                              throws RemoteException
Description copied from interface: Producer
Get a maximum of numMessages messages.

Specified by:
getMessages in interface Producer<UsageReport>
Throws:
RemoteException

toString

public String toString()
Overrides:
toString in class Object

getException

public Exception getException()
Description copied from interface: Producer
Get Throwable caught while polling. NULL if no Throwables.

Specified by:
getException in interface Producer<UsageReport>


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.