org.yawlfoundation.yawl.resourcing.rsInterface
Class UserConnectionCache

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.rsInterface.UserConnectionCache

public class UserConnectionCache
extends Object

Author: Michael Adams Creation Date: 28/04/2010


Constructor Summary
UserConnectionCache()
           
 
Method Summary
 UserConnection add(String ySessionHandle, Participant p, String jSessionID)
           
 boolean containsParticipant(String pid)
           
 boolean containsSessionHandle(String handle)
           
 boolean containsSessionID(String id)
           
 Set<Participant> getActiveParticipants()
           
 Collection<UserConnection> getAllSessions()
           
 Participant getParticipantWithSessionHandle(String handle)
           
 String getSessionHandle(Participant p)
           
 UserConnection removeParticipantSession(Participant p)
           
 UserConnection removeSessionHandle(String id)
           
 UserConnection removeSessionID(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserConnectionCache

public UserConnectionCache()
Method Detail

add

public UserConnection add(String ySessionHandle,
                          Participant p,
                          String jSessionID)

removeSessionID

public UserConnection removeSessionID(String id)

removeSessionHandle

public UserConnection removeSessionHandle(String id)

removeParticipantSession

public UserConnection removeParticipantSession(Participant p)

getActiveParticipants

public Set<Participant> getActiveParticipants()

getAllSessions

public Collection<UserConnection> getAllSessions()

getSessionHandle

public String getSessionHandle(Participant p)

getParticipantWithSessionHandle

public Participant getParticipantWithSessionHandle(String handle)

containsSessionHandle

public boolean containsSessionHandle(String handle)

containsSessionID

public boolean containsSessionID(String id)

containsParticipant

public boolean containsParticipant(String pid)


Copyright © 2004-2012 The YAWL Foundation.