| java.lang.Object org.apache.derby.impl.drda.AppRequester
AppRequester | class AppRequester (Code) | | AppRequester stores information about the application requester.
It is used so that multiple sessions can share information when they are
started from the same version of the application requester.
|
Method Summary | |
protected boolean | equals(AppRequester a) | protected int | getClientType() Get the type of the client. | protected int | getManagerLevel(int manager) | protected boolean | greaterThanOrEqualTo(int vLevel, int rLevel, int mLevel) | protected boolean | isXARequester() | protected void | setClientVersion(String productId) | protected void | setManagerLevel(int manager, int managerLevel) set Application requester manager level
if the manager level is less than the minimum manager level,
set the manager level to zero (saying we can't handle this
level), this will be returned
to the application requester and he can decide whether or not to
proceed
For CCSIDMGR, if the target server supports the CCSID manager but
not the CCSID requested, the value returned is FFFF
For now, we won't support the CCSIDMGR since JCC doesn't request it. | protected int | supportedMessageParamLength() Get the maximum length supported for an exception's message
parameter string. | final protected boolean | supportsQryclsimpForLmtblkprc() Check if the client expects QRYCLSIMP to be supported when the
protocol is LMTBLKPRC. | protected boolean | supportsSecMecUSRSSBPWD() Returns true if Derby's client driver supports SECMEC_USRSSBPWD
DRDA security mechanism. |
CCC_CLIENT | final protected static int CCC_CLIENT(Code) | | |
DNC_CLIENT | final protected static int DNC_CLIENT(Code) | | |
JCC_CLIENT | final protected static int JCC_CLIENT(Code) | | |
MGR_LEVEL_UNKNOWN | final protected static int MGR_LEVEL_UNKNOWN(Code) | | |
UNKNOWN_CLIENT | final protected static int UNKNOWN_CLIENT(Code) | | |
modifyLevel | protected int modifyLevel(Code) | | |
releaseLevel | protected int releaseLevel(Code) | | |
versionLevel | protected int versionLevel(Code) | | |
AppRequester | AppRequester()(Code) | | AppRequester constructor
throws IOException |
equals | protected boolean equals(AppRequester a)(Code) | | Check if the application requester is the same as this one
Parameters: a - application requester to compare to true if same false otherwise |
getClientType | protected int getClientType()(Code) | | Get the type of the client.
|
getManagerLevel | protected int getManagerLevel(int manager)(Code) | | get the Application requester manager level
Parameters: manager - codepoint for manager we are looking for manager level for that manager |
greaterThanOrEqualTo | protected boolean greaterThanOrEqualTo(int vLevel, int rLevel, int mLevel)(Code) | | Check if provided JCC version level is greaterThanOrEqualTo current level
Parameters: vLevel - Version level Parameters: rLevel - Release level Parameters: mLevel - Modification level |
isXARequester | protected boolean isXARequester()(Code) | | Is this an AppRequester that supports XA
return true if XAMGR >= 7, false otherwise
|
setClientVersion | protected void setClientVersion(String productId)(Code) | | |
setManagerLevel | protected void setManagerLevel(int manager, int managerLevel)(Code) | | set Application requester manager level
if the manager level is less than the minimum manager level,
set the manager level to zero (saying we can't handle this
level), this will be returned
to the application requester and he can decide whether or not to
proceed
For CCSIDMGR, if the target server supports the CCSID manager but
not the CCSID requested, the value returned is FFFF
For now, we won't support the CCSIDMGR since JCC doesn't request it.
Parameters: manager - codepoint of the manager Parameters: managerLevel - level for that manager |
supportedMessageParamLength | protected int supportedMessageParamLength()(Code) | | Get the maximum length supported for an exception's message
parameter string.
|
supportsQryclsimpForLmtblkprc | final protected boolean supportsQryclsimpForLmtblkprc()(Code) | | Check if the client expects QRYCLSIMP to be supported when the
protocol is LMTBLKPRC.
true if QRYCLSIMP is supported forLMTBLKPRC |
supportsSecMecUSRSSBPWD | protected boolean supportsSecMecUSRSSBPWD()(Code) | | Returns true if Derby's client driver supports SECMEC_USRSSBPWD
DRDA security mechanism.
|
|
|