net.sourceforge.jtds.jdbc

Class SharedSocket.VirtualSocket

Enclosing Class:
SharedSocket

private static class SharedSocket.VirtualSocket
extends java.lang.Object

This inner class contains the state information for the virtual socket.

Field Summary

(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.

Constructor Summary

VirtualSocket(int streamId)
Constuct object to hold state information for each caller.

Field Details

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.

Constructor Details

VirtualSocket

(package private)  VirtualSocket(int streamId)
Constuct object to hold state information for each caller.
Parameters:
streamId - the Response/Request stream id.

Generated on June 12 2008