| |
|
| java.lang.Object net.sourceforge.jtds.jdbc.SharedSocket net.sourceforge.jtds.jdbc.SharedNamedPipe
SharedNamedPipe | public class SharedNamedPipe extends SharedSocket (Code) | | This class implements inter-process communication (IPC) to the
database server using named pipes.
author: David D. Kilzer version: $Id: SharedNamedPipe.java,v 1.19 2007/07/12 20:34:47 bheineman Exp $ |
Method Summary | |
void | close() Close the socket (noop if in shared mode). | void | forceClose() Force close the socket causing any pending reads/writes to fail. | boolean | isConnected() Get the connected status of this socket. | protected void | setTimeout(int timeout) Set the socket timeout. |
close | void close() throws IOException(Code) | | Close the socket (noop if in shared mode).
|
forceClose | void forceClose()(Code) | | Force close the socket causing any pending reads/writes to fail.
Used by the login timer to abort a login attempt.
|
isConnected | boolean isConnected()(Code) | | Get the connected status of this socket.
true if the underlying socket is connected |
setTimeout | protected void setTimeout(int timeout)(Code) | | Set the socket timeout.
Noop for now; timeouts are not implemented for SMB named pipes.
Parameters: timeout - timeout value in milliseconds |
Fields inherited from net.sourceforge.jtds.jdbc.SharedSocket | final protected int serverType(Code)(Java Doc)
|
|
|
|