net.sourceforge.jtds.jdbc

Class TdsCore.TdsToken

Enclosing Class:
TdsCore

private static class TdsCore.TdsToken
extends java.lang.Object

Inner static class used to hold information about TDS tokens read.

Field Summary

(package private) Object[]
dynamParamData
The dynamic parameter data from the last TDS_DYNAMIC token.
(package private) ColInfo[]
dynamParamInfo
The dynamic parameters from the last TDS_DYNAMIC token.
(package private) byte[]
nonce
The nonce from an NTLM challenge packet.
(package private) byte[]
ntlmMessage
NTLM authentication message.
(package private) byte[]
ntlmTarget
target info for NTLM message TODO: I don't need to store these!!!
(package private) byte
operation
The operation field from a DONE packet.
(package private) byte
status
The status field from a DONE packet.
(package private) byte
token
The current TDS token byte.
(package private) int
updateCount
The update count from a DONE packet.

Method Summary

(package private) boolean
isAuthToken()
Retrieve the NTLM challenge status.
(package private) boolean
isEndToken()
Retrieve the DONE token status.
(package private) boolean
isResultSet()
Retrieve the result set status.
boolean
isRowData()
Retrieve the row data status.
(package private) boolean
isUpdateCount()
Retrieve the update count status.
(package private) boolean
resultsPending()
Retrieve the results pending status.

Field Details

dynamParamData

(package private)  Object[] dynamParamData
The dynamic parameter data from the last TDS_DYNAMIC token.

dynamParamInfo

(package private)  ColInfo[] dynamParamInfo
The dynamic parameters from the last TDS_DYNAMIC token.

nonce

(package private)  byte[] nonce
The nonce from an NTLM challenge packet.

ntlmMessage

(package private)  byte[] ntlmMessage
NTLM authentication message.

ntlmTarget

(package private)  byte[] ntlmTarget
target info for NTLM message TODO: I don't need to store these!!!

operation

(package private)  byte operation
The operation field from a DONE packet.

status

(package private)  byte status
The status field from a DONE packet.

token

(package private)  byte token
The current TDS token byte.

updateCount

(package private)  int updateCount
The update count from a DONE packet.

Method Details

isAuthToken

(package private)  boolean isAuthToken()
Retrieve the NTLM challenge status.
Returns:
boolean true if the current token is an NTLM challenge.

isEndToken

(package private)  boolean isEndToken()
Retrieve the DONE token status.
Returns:
boolean true if the current token is a DONE packet.

isResultSet

(package private)  boolean isResultSet()
Retrieve the result set status.
Returns:
boolean true if the current token is a result set.

isRowData

public boolean isRowData()
Retrieve the row data status.
Returns:
boolean true if the current token is a result row.

isUpdateCount

(package private)  boolean isUpdateCount()
Retrieve the update count status.
Returns:
boolean true if the update count is valid.

resultsPending

(package private)  boolean resultsPending()
Retrieve the results pending status.
Returns:
boolean true if more results in input.

Generated on September 18 2009