org.apache.synapse.endpoints.dispatch
Class SessionInformation

java.lang.Object
  extended by org.apache.synapse.endpoints.dispatch.SessionInformation
All Implemented Interfaces:
Serializable

public class SessionInformation
extends Object
implements Serializable

DataStructure for session information

See Also:
Serialized Form

Constructor Summary
SessionInformation(String id, List<Endpoint> endpointList, long expiryTime)
           
SessionInformation(String id, Member member, long expiryTime, long expireTimeWindow)
           
 
Method Summary
 List<Endpoint> getEndpointList()
           
 long getExpiryTime()
           
 String getId()
           
 Member getMember()
           
 List<String> getPath()
           
 String getRootEndpointName()
           
 boolean isExpired()
           
 void setExpiryTime(long expiryTime)
           
 void setId(String id)
           
 void setPath(List<String> path)
           
 void setRootEndpointName(String rootEndpointName)
           
 void updateExpiryTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionInformation

public SessionInformation(String id,
                          List<Endpoint> endpointList,
                          long expiryTime)

SessionInformation

public SessionInformation(String id,
                          Member member,
                          long expiryTime,
                          long expireTimeWindow)
Method Detail

getId

public String getId()

setId

public void setId(String id)

getPath

public List<String> getPath()

setPath

public void setPath(List<String> path)

getExpiryTime

public long getExpiryTime()

setExpiryTime

public void setExpiryTime(long expiryTime)

updateExpiryTime

public void updateExpiryTime()

getEndpointList

public List<Endpoint> getEndpointList()

getRootEndpointName

public String getRootEndpointName()

setRootEndpointName

public void setRootEndpointName(String rootEndpointName)

isExpired

public boolean isExpired()

getMember

public Member getMember()


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.