| Modifier and Type | Field and Description |
|---|---|
| protected AppRequester | |
| protected static final int | |
| protected static final int | |
| protected Socket | |
| protected static final int | |
| protected static final int | |
| protected int | |
| protected Database | |
| private Hashtable | dbtable
Table of databases accessed in this session. |
| protected static final int | |
| protected String | |
| protected DssTrace | |
| protected static final int | |
| protected LocalizedResource | |
| private NetworkServerControlImpl | |
| protected int | |
| protected static final int | |
| protected InputStream | |
| protected OutputStream | |
| protected int | |
| protected int | |
| protected String | |
| private static final String | |
| private static final String | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | Session(NetworkServerControlImpl nsctrl, int
connection number connNum, Socket communications socket for this session clientSocket, String location for trace files traceDirectory, boolean whether to start tracing this connection traceOn)Session constructor |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected String | |
| protected void | |
| protected int | |
| protected Database | |
| protected int | Returns: next required Security checkpoint or -1 if neither ACCSEC or SECCHK are required at this time.Get requried security checkpoint. |
| private void | |
| protected void | |
| protected boolean | |
| protected boolean | Returns: true if ACCSEC or SECCHK are required at this time.Check if a security codepoint is required |
| protected void | |
| protected void | |
| protected void |
| appRequester | back to summary |
|---|---|
| protected AppRequester appRequester | |
| ATTEXC | back to summary |
|---|---|
| protected static final int ATTEXC | |
| CHKSEC | back to summary |
|---|---|
| protected static final int CHKSEC | |
| clientSocket | back to summary |
|---|---|
| protected Socket clientSocket | |
| CLOSED | back to summary |
|---|---|
| protected static final int CLOSED | |
| CMD_SESSION | back to summary |
|---|---|
| protected static final int CMD_SESSION | |
| connNum | back to summary |
|---|---|
| protected int connNum | |
| database | back to summary |
|---|---|
| protected Database database | |
| dbtable | back to summary |
|---|---|
| private Hashtable<String, Database> dbtable Table of databases accessed in this session. | |
| DRDA_SESSION | back to summary |
|---|---|
| protected static final int DRDA_SESSION | |
| drdaID | back to summary |
|---|---|
| protected String drdaID | |
| dssTrace | back to summary |
|---|---|
| protected DssTrace dssTrace | |
| INIT | back to summary |
|---|---|
| protected static final int INIT | |
| langUtil | back to summary |
|---|---|
| protected LocalizedResource langUtil | |
| nsctrl | back to summary |
|---|---|
| private NetworkServerControlImpl nsctrl | |
| qryinsid | back to summary |
|---|---|
| protected int qryinsid | |
| SECACC | back to summary |
|---|---|
| protected static final int SECACC | |
| sessionInput | back to summary |
|---|---|
| protected InputStream sessionInput | |
| sessionOutput | back to summary |
|---|---|
| protected OutputStream sessionOutput | |
| sessionType | back to summary |
|---|---|
| protected int sessionType | |
| state | back to summary |
|---|---|
| protected int state | |
| traceFileName | back to summary |
|---|---|
| protected String traceFileName | |
| TRACENAME_PREFIX | back to summary |
|---|---|
| private static final String TRACENAME_PREFIX | |
| TRACENAME_SUFFIX | back to summary |
|---|---|
| private static final String TRACENAME_SUFFIX | |
| traceOn | back to summary |
|---|---|
| protected boolean traceOn | |
| Session | back to summary |
|---|---|
| pack-priv Session(NetworkServerControlImpl nsctrl, int connNum, Socket clientSocket, String traceDirectory, boolean traceOn) throws Exception Session constructor | |
| addDatabase | back to summary |
|---|---|
| protected void addDatabase(Database d) Add database to session table | |
| buildRuntimeInfo | back to summary |
|---|---|
| protected String buildRuntimeInfo(String indent, LocalizedResource localLangUtil) | |
| close | back to summary |
|---|---|
| protected void close() throws SQLException Close session - close connection sockets and set state to closed | |
| getConnNum | back to summary |
|---|---|
| protected int getConnNum() Get connection number
| |
| getDatabase | back to summary |
|---|---|
| protected Database getDatabase(String dbName) Get database | |
| getRequiredSecurityCodepoint | back to summary |
|---|---|
| protected int getRequiredSecurityCodepoint() Get requried security checkpoint. Used to verify EXCSAT/ACCSEC/SECCHK order.
| |
| initialize | back to summary |
|---|---|
| private void initialize(String traceDirectory) throws Exception Get session into initial state
| |
| initTrace | back to summary |
|---|---|
| protected void initTrace(String traceDirectory, boolean throwException) throws Exception initialize a server trace for the DRDA protocol
| |
| isTraceOn | back to summary |
|---|---|
| protected boolean isTraceOn() Get whether tracing is on
| |
| requiresSecurityCodepoint | back to summary |
|---|---|
| protected boolean requiresSecurityCodepoint() Check if a security codepoint is required
| |
| setState | back to summary |
|---|---|
| protected void setState(int s) Set Session state | |
| setTraceOff | back to summary |
|---|---|
| protected void setTraceOff() Set tracing off | |
| setTraceOn | back to summary |
|---|---|
| protected void setTraceOn(String traceDirectory, boolean throwException) throws Exception Set tracing on
| |