biz.chitec.quarterback.gjsa.server
Class ServerStackEntry
java.lang.Object
biz.chitec.quarterback.gjsa.server.ServerStackEntry
- public class ServerStackEntry
- extends java.lang.Object
Part of the internal state stack of a ServerThreadBase.
GJSA servers are normally stack based, e.g. different states can be stacked onto each other.
Internally, this stack is built of multiple instances of ServerStackEntry objects.
TODO State name passing must be adopted somehow to multisession environment
- Version:
- $Id: e79526c0ac5084f279180be7f82661a196cd13d5 $
- Author:
- Dirk Hillbrecht 1997-1999, chitec/Dirk Hillbrecht 2000.
Distributed under the terms of the GNU LGPL.
Constructor Summary |
ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx)
|
ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
CommandExecutor commexec)
|
ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
CommandExecutor commexec1,
CommandExecutor commexec2)
|
ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
java.util.List thecommexecs)
|
ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
java.util.List thecommexecs,
java.util.List thecommexecs2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
state
public int state
statename
public java.lang.String statename
properties
private java.util.Map properties
commexecs
private java.util.List commexecs
allcommexecs
private java.util.List allcommexecs
ancestor
private ServerStackEntry ancestor
sts
private ServerThreadSession sts
ServerStackEntry
public ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx)
ServerStackEntry
public ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
java.util.List thecommexecs)
ServerStackEntry
public ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
java.util.List thecommexecs,
java.util.List thecommexecs2)
ServerStackEntry
public ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
CommandExecutor commexec)
ServerStackEntry
public ServerStackEntry(ServerStackEntry theancestor,
int thestate,
ServerThreadSession stsx,
CommandExecutor commexec1,
CommandExecutor commexec2)
setCommandExecutors
public void setCommandExecutors(java.util.List thecommexecs)
setAllCommandExecutors
public void setAllCommandExecutors(java.util.List thecommexecs)
queryAllCommExecs
protected ServerReply queryAllCommExecs(ServerRequest sq)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
query
public ServerReply query(ServerRequest sq,
boolean allcommexecsonly)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
query
public ServerReply query(ServerRequest sq)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
leavingActions
public void leavingActions()
putProperty
public java.lang.Object putProperty(java.lang.Object key,
java.lang.Object prop)
getProperty
public java.lang.Object getProperty(java.lang.Object key)
removeProperty
public java.lang.Object removeProperty(java.lang.Object key)
dropMe
public ServerStackEntry dropMe()
toString
public java.lang.String toString()