Version: 1.1.1

ca.ucalgary.seahawk.util
Interface MobyPayloadRequestListener

All Known Implementing Classes:
MobyPayloadCreator

public interface MobyPayloadRequestListener

To be implemented by classes that can provide a Moby payload object (e.g. to submit to a service) upon request, with the auumption that the listener knows what to send in the context of the class to which it attached itself as a listener. This is used by MobyServicesGUI to request a payload when the menu item was created based on a data type rather than an actual data instance.


Method Summary
 MobyContentInstance createPayload(String paramNameforJobs)
          Assumes the listener knows what payload to create based on some internal context stored by the listener.
 

Method Detail

createPayload

MobyContentInstance createPayload(String paramNameforJobs)
Assumes the listener knows what payload to create based on some internal context stored by the listener. (i.e. you need to create a new listener specific to each deferred payload.

Parameters:
paramNameforJobs - the name of the moby job parameter to which each value should be assigned

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010