public class YSession extends YAbstractSession
Constructor and Description |
---|
YSession(long timeOutSeconds) |
YSession(YClient client,
long timeOutSeconds)
Creates a session with the engine for the client.
|
Modifier and Type | Method and Description |
---|---|
YClient |
getClient() |
java.lang.String |
getPassword()
Overridden in all child classes.
|
java.lang.String |
getURI()
Overridden in all child classes.
|
void |
setPassword(java.lang.String password)
Overridden in all child classes.
|
getHandle, getInterval
public YSession(long timeOutSeconds)
public YSession(YClient client, long timeOutSeconds)
client
- the external service or application requesting a sessiontimeOutSeconds
- the maximum idle time for this session (in seconds)YSession(long)
public java.lang.String getURI()
public java.lang.String getPassword()
public void setPassword(java.lang.String password) throws YPersistenceException
password
- the (hashed) password to set (change to) for the 'admin' user.YPersistenceException
public YClient getClient()
Copyright © 2004-2014 The YAWL Foundation.