uk.ac.soton.itinnovation.grid.types
Interface Signallable

All Known Subinterfaces:
AccountConversation, AccountResource, DataConversation, DataServiceSOAP, DataStagerResource, JobConversation, JobResource, JobServiceSOAP, LocalDataService, MembershipGroupConversation, MembershipGroupResource, PrivateAccountConversation, PrivateAccountResource, PrivateAccountServiceSOAP, SLAConversation, SLAResource, SLAServiceSOAP, SLATemplateConversation, SLATemplateResource, TradeAccountConversation, TradeAccountResource, TradeAccountServiceSOAP
All Known Implementing Classes:
DataServiceModule, JobServiceModule, MembershipGroupResourceImpl, SLAServiceImpl, TradeAccountServiceImpl

public interface Signallable

A resource which can receive signals. A signal may move the resource into a new state, depending on its policy.


Method Summary
 String[] getAvailableSignals()
          List the signals which are available given the resource's current state.
 String signal(String signalName)
          Signal an event to the resource's PBAC process.
 

Method Detail

signal

@WebMethod
String signal(String signalName)
              throws RemoteException
Signal an event to the resource's PBAC process. The process state may be updated in response to this, according to the service policy.

Parameters:
signalName - the event causing the transition
Returns:
the new state of the resource
Throws:
RemoteException

getAvailableSignals

@WebMethod
String[] getAvailableSignals()
                             throws RemoteException
List the signals which are available given the resource's current state.

Returns:
the list of possible signals
Throws:
RemoteException
See Also:
signal(java.lang.String)


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