Class SharedSocket.VirtualSocket

java.lang.Object
net.sourceforge.jtds.jdbc.SharedSocket.VirtualSocket
Enclosing class:
SharedSocket

static class SharedSocket.VirtualSocket extends Object
This inner class contains the state information for the virtual socket.
  • Field Details

    • id

      final int id
      The stream ID of the stream objects owning this state.
    • pktQueue

      final LinkedList pktQueue
      Memory resident packet queue.
    • queueFile

      File queueFile
      File object for disk packet queue.
    • diskQueue

      RandomAccessFile diskQueue
      I/O Stream for disk packet queue.
    • pktsOnDisk

      int pktsOnDisk
      Number of packets cached to disk.
    • inputPkts

      int inputPkts
      Total of input packets in memory or disk.
  • Constructor Details

    • VirtualSocket

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