net.sf.wallace
Class WallaceSession
java.lang.Object
net.sf.wallace.WallaceSession
public final class WallaceSession
- extends Object
This class represents the state of a single Wallace server session.
An instance of this class is attached to each session and provides access to
the associated user, currently selected Folder and server configuration.
- Author:
- rnewson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WallaceSession
public WallaceSession()
getState
public WallaceSessionState getState()
setState
public void setState(WallaceSessionState newState)
setUser
public void setUser(WallaceUser newUser)
getUser
public WallaceUser getUser()
setStore
public void setStore(javax.mail.Store newStore)
getStore
public javax.mail.Store getStore()
setSelectedFolder
public void setSelectedFolder(javax.mail.Folder newFolder)
- Set the currently selected Folder for this session.
getSelectedFolder
public javax.mail.Folder getSelectedFolder()
- Get the currently selected Folder for this session.
- Returns:
setServerConfig
public void setServerConfig(WallaceServerConfig newServerConfig)
getServerConfig
public WallaceServerConfig getServerConfig()
setSessionHandler
public void setSessionHandler(SessionHandler newSessionHandler)
respond
public void respond(ServerResponse serverResponse)
close
public void close()
Copyright © 2004-2005 Robert Newson. All Rights Reserved.