|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.Socket
net.sourceforge.jtds.ssl.TdsTlsSocket
class TdsTlsSocket
A socket that mediates between JSSE and the DB server.
Field Summary | |
---|---|
private java.net.Socket |
delegate
|
private java.io.InputStream |
istm
|
private java.io.OutputStream |
ostm
|
Constructor Summary | |
---|---|
TdsTlsSocket(java.net.Socket delegate)
Constructs a TdsTlsSocket around an underlying socket. |
Method Summary | |
---|---|
void |
close()
|
java.io.InputStream |
getInputStream()
|
java.io.OutputStream |
getOutputStream()
|
boolean |
isConnected()
|
void |
setKeepAlive(boolean keepAlive)
|
void |
setSoTimeout(int timeout)
|
void |
setTcpNoDelay(boolean on)
|
Methods inherited from class java.net.Socket |
---|
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setTrafficClass, shutdownInput, shutdownOutput, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.net.Socket delegate
private final java.io.InputStream istm
private final java.io.OutputStream ostm
Constructor Detail |
---|
TdsTlsSocket(java.net.Socket delegate) throws java.io.IOException
delegate
- the underlying socket
java.io.IOException
Method Detail |
---|
public void close() throws java.io.IOException
close
in class java.net.Socket
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.Socket
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.Socket
java.io.IOException
public boolean isConnected()
isConnected
in class java.net.Socket
public void setSoTimeout(int timeout) throws java.net.SocketException
setSoTimeout
in class java.net.Socket
java.net.SocketException
public void setKeepAlive(boolean keepAlive) throws java.net.SocketException
setKeepAlive
in class java.net.Socket
java.net.SocketException
public void setTcpNoDelay(boolean on) throws java.net.SocketException
setTcpNoDelay
in class java.net.Socket
java.net.SocketException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |