|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.core.conversation.ConversationManagerImpl
public class ConversationManagerImpl
| Constructor Summary | |
|---|---|
ConversationManagerImpl()
constructor |
|
| 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()
returns the default max age |
long |
getMaxIdleTime()
return the default max idle time |
void |
removeListener(ConversationListener listener)
Remove a listener from this conversation |
void |
scheduleConversation(ExtendedConversationImpl aConversation,
long time)
starts the reaper thread |
ExtendedConversation |
startConversation(java.lang.Object conversationID)
|
void |
stopReaper()
stops the reaper thread |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConversationManagerImpl()
| Method Detail |
|---|
public void addListener(ConversationListener listener)
ConversationManager
addListener in interface ConversationManagerConversationManager.addListener(org.apache.tuscany.sca.core.conversation.ConversationListener)public void endConversation(java.lang.Object conversationID)
endConversation in interface ConversationManagerorg.apache.tuscany.sca.core.conversation.ConversationManager#endConversation(org.apache.tuscany.sca.core.conversation.ExtendedConversation)public void expireConversation(java.lang.Object conversationID)
expireConversation in interface ConversationManagerpublic ExtendedConversation getConversation(java.lang.Object conversationID)
getConversation in interface ConversationManagerConversationManager.getConversation(java.lang.Object)public void removeListener(ConversationListener listener)
ConversationManager
removeListener in interface ConversationManagerConversationManager.removeListener(org.apache.tuscany.sca.core.conversation.ConversationListener)
public void scheduleConversation(ExtendedConversationImpl aConversation,
long time)
public void stopReaper()
public ExtendedConversation startConversation(java.lang.Object conversationID)
startConversation in interface ConversationManagerConversationManager.startConversation(java.lang.Object)public long getMaxIdleTime()
getMaxIdleTime in interface ConversationManagerimpProvider - the implementation Provider to extract any ConversationAttribute details
public long getMaxAge()
getMaxAge in interface ConversationManagerimpProvider - the implementation Provider to extract any ConversationAttribute details
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||