uk.ac.soton.ecs.iam.grid.comms.client
Interface Conversation

All Superinterfaces:
Comparable<StorableInStateRepository>, StorableInStateRepository
All Known Subinterfaces:
AccountConversation, CltMgtRegistryResourceConversation, DataConversation, DestroyableConversation, JobConversation, MembershipGroupConversation, OgsaDaiResourceConversation, OgsaDaiRoleConversation, OgsaDaiSubscriptionConversation, PrivateAccountConversation, SampleConversation, SLAConversation, SLATemplateConversation, TradeAccountConversation
All Known Implementing Classes:
AccountConversationImpl, BaseRemoteConversation, CltMgtRegistryResourceHelpers, DataConversationImpl, DataStagerHelpers, JobConversationImpl, JobHelpers, MembershipGroupHelpers, OgsaDaiResourceConversationHelpers, OgsaDaiRoleConversationHelpers, OgsaDaiSubscriptionConversationHelpers, PrivateAccountConversationImpl, PrivateAccountHelpers, SLAConversationImpl, SLAHelpers, TradeAccountConversationImpl, TradeAccountHelpers

public interface Conversation
extends StorableInStateRepository

Each Conversation object corresponds to a GRIA 2 conversation. New Conversation objects are only created by the StateRepository.


Method Summary
 void finish()
          Indicate that this conversation is no longer required.
 StorableInStateRepository[] getChildConversations()
          Returns an array of all conversations having this one as a parent.
 RemoteService getService()
          Return the conversation's RemoteService.
 boolean isFinished()
          Returns true if the finish method has been called.
 void outOfDate()
          Used by the StateRepository if the server returns new resource with our ID.
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getInterface, getParentURL, getRepository, getURL, setDescription
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getChildConversations

StorableInStateRepository[] getChildConversations()
Returns an array of all conversations having this one as a parent.


finish

void finish()
Indicate that this conversation is no longer required. It will be removed from the StateRepository. No other methods on a Conversation can be called once finish() has been invoked.

Note that this does not close the conversation with the remote supplier. You should normally call a different method, such as WSResourceLifetime.destroy().


isFinished

boolean isFinished()
Returns true if the finish method has been called.


getService

RemoteService getService()
Return the conversation's RemoteService.


outOfDate

void outOfDate()
Used by the StateRepository if the server returns new resource with our ID.



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