org.apache.tuscany.sca.core.conversation
Interface ConversationManager

All Known Implementing Classes:
ConversationManagerImpl

public interface ConversationManager

The manager of conversations


Method Summary
 void addListener(ConversationListener listener)
          Add a listener to this conversation
 void endConversation(java.lang.Object conversationID)
           
 void expireConversation(java.lang.Object conversationID)
           
 ExtendedConversation getConversation(java.lang.Object conversationID)
           
 long getMaxAge()
           
 long getMaxIdleTime()
           
 void removeListener(ConversationListener listener)
          Remove a listener from this conversation
 ExtendedConversation startConversation(java.lang.Object conversationID)
           
 

Method Detail

startConversation

ExtendedConversation startConversation(java.lang.Object conversationID)
Parameters:
conversationID -
Returns:

endConversation

void endConversation(java.lang.Object conversationID)
Parameters:
conversationID -

getConversation

ExtendedConversation getConversation(java.lang.Object conversationID)
Parameters:
conversationID -
Returns:

expireConversation

void expireConversation(java.lang.Object conversationID)
Parameters:
conversationID -

addListener

void addListener(ConversationListener listener)
Add a listener to this conversation

Parameters:
listener -

removeListener

void removeListener(ConversationListener listener)
Remove a listener from this conversation

Parameters:
listener -

getMaxAge

long getMaxAge()
Returns:
the default max age for a conversation

getMaxIdleTime

long getMaxIdleTime()
Returns:
the default max idle time for a conversation