uk.ac.soton.itinnovation.grid.utils.messaging
Interface Producer<T>

All Known Implementing Classes:
UsageProducingService

public interface Producer<T>

A producer of messages


Method Summary
 Exception getException()
          Get Throwable caught while polling.
 List<T> getMessages()
          Get all messages
 List<T> getMessages(int numMessages)
          Get a maximum of numMessages messages.
 

Method Detail

getMessages

List<T> getMessages()
                    throws RemoteException
Get all messages

Throws:
RemoteException

getMessages

List<T> getMessages(int numMessages)
                    throws RemoteException
Get a maximum of numMessages messages.

Throws:
RemoteException

getException

Exception getException()
Get Throwable caught while polling. NULL if no Throwables.



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