net.sourceforge.jtds.ssl

Class TdsTlsSocket


(package private) class TdsTlsSocket
extends Socket

A socket that mediates between JSSE and the DB server.
Version:
$Id: TdsTlsSocket.java,v 1.3 2005/04/28 14:29:31 alin_sinpalean Exp $
Authors:
Rob Worsnop
Mike Hutchinson

Field Summary

private Socket
delegate
private InputStream
istm
private OutputStream
ostm

Constructor Summary

TdsTlsSocket(Socket delegate)
Constructs a TdsTlsSocket around an underlying socket.

Method Summary

void
close()
InputStream
getInputStream()
OutputStream
getOutputStream()
boolean
isConnected()
void
setSoTimeout(int timeout)
void
setTcpNoDelay(boolean on)

Field Details

delegate

private final Socket delegate

istm

private final InputStream istm

ostm

private final OutputStream ostm

Constructor Details

TdsTlsSocket

(package private)  TdsTlsSocket(Socket delegate)
            throws IOException
Constructs a TdsTlsSocket around an underlying socket.
Parameters:
delegate - the underlying socket

Method Details

close

public void close()
            throws IOException

getInputStream

public InputStream getInputStream()
            throws IOException

getOutputStream

public OutputStream getOutputStream()
            throws IOException

isConnected

public boolean isConnected()

setSoTimeout

public void setSoTimeout(int timeout)
            throws SocketException

setTcpNoDelay

public void setTcpNoDelay(boolean on)
            throws SocketException

Generated on September 18 2009