net.sourceforge.jtds.jdbc
Class SharedSocket.VirtualSocket
java.lang.Object
net.sourceforge.jtds.jdbc.SharedSocket.VirtualSocket
- SharedSocket
private static class SharedSocket.VirtualSocket
extends java.lang.Object
This inner class contains the state information for the virtual socket.
(package private) boolean | complete - True if output is complete TDS packet.
|
(package private) RandomAccessFile | diskQueue - I/O Stream for disk packet queue.
|
(package private) boolean | flushInput - True to discard network data.
|
(package private) int | inputPkts - Total of input packets in memory or disk.
|
(package private) int | owner - The stream ID of the stream objects owning this state.
|
(package private) LinkedList | pktQueue - Memory resident packet queue.
|
(package private) int | pktsOnDisk - Number of packets cached to disk.
|
(package private) File | queueFile - File object for disk packet queue.
|
VirtualSocket(int streamId) - Constuct object to hold state information for each caller.
|
complete
(package private) boolean complete
True if output is complete TDS packet.
diskQueue
(package private) RandomAccessFile diskQueue
I/O Stream for disk packet queue.
flushInput
(package private) boolean flushInput
True to discard network data.
inputPkts
(package private) int inputPkts
Total of input packets in memory or disk.
owner
(package private) final int owner
The stream ID of the stream objects owning this state.
pktQueue
(package private) final LinkedList pktQueue
Memory resident packet queue.
pktsOnDisk
(package private) int pktsOnDisk
Number of packets cached to disk.
queueFile
(package private) File queueFile
File object for disk packet queue.
VirtualSocket
(package private) VirtualSocket(int streamId)
Constuct object to hold state information for each caller.
streamId
- the Response/Request stream id.
Generated on September 18 2009