Package | Description |
---|---|
net.sourceforge.jtds.jdbc |
Modifier and Type | Field and Description |
---|---|
private SharedSocket.VirtualSocket |
ResponseStream._VirtualSocket
The
SharedSocket.VirtualSocket used by this stream. |
private SharedSocket.VirtualSocket |
RequestStream._VirtualSocket
The unique stream id.
|
private SharedSocket.VirtualSocket |
SharedSocket.responseOwner
The virtual socket of the object that is expecting a response from the server.
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<java.lang.Integer,SharedSocket.VirtualSocket> |
SharedSocket._VirtualSockets
Table of stream objects sharing this socket.
|
Modifier and Type | Method and Description |
---|---|
(package private) SharedSocket.VirtualSocket |
ResponseStream.getVirtualSocket()
Retrieves the
SharedSocket.VirtualSocket used by this stream id. |
(package private) SharedSocket.VirtualSocket |
RequestStream.getVirtualSocket()
Retrieve the
SharedSocket.VirtualSocket used by this stream. |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
SharedSocket.cancel(SharedSocket.VirtualSocket vsock)
Send a TDS cancel packet to the server.
|
(package private) void |
SharedSocket.closeStream(SharedSocket.VirtualSocket vsock)
Deallocate a stream linked to this socket.
|
private byte[] |
SharedSocket.dequeueInput(SharedSocket.VirtualSocket vsock)
Read a cached packet from the in memory queue or from a disk based queue.
|
private void |
SharedSocket.enqueueInput(SharedSocket.VirtualSocket vsock,
byte[] buffer)
Save a packet buffer in a memory queue or to a disk queue if the global
memory limit for the driver has been exceeded.
|
(package private) byte[] |
SharedSocket.getNetPacket(SharedSocket.VirtualSocket vsock,
byte[] buffer)
Get a network packet.
|
(package private) byte[] |
SharedSocket.sendNetPacket(SharedSocket.VirtualSocket vsock,
byte[] buffer)
Send a network packet.
|
(package private) byte[] |
SharedLocalNamedPipe.sendNetPacket(SharedSocket.VirtualSocket vsock,
byte[] buffer)
Send an network packet.
|
Constructor and Description |
---|
RequestStream(SharedSocket socket,
SharedSocket.VirtualSocket vsock,
int bufferSize,
int maxPrecision)
Construct a RequestStream object.
|
ResponseStream(SharedSocket socket,
SharedSocket.VirtualSocket vsock,
int bufferSize)
Constructs a
RequestStream object. |
Generated on June 8 2013