public class SharedLocalNamedPipe extends SharedSocket
SharedSocket.VirtualSocket| Modifier and Type | Field and Description | 
|---|---|
| (package private) java.io.RandomAccessFile | pipeThe named pipe as a file. | 
serverType| Constructor and Description | 
|---|
| SharedLocalNamedPipe(JtdsConnection connection)Creates a new instance of  SharedLocalNamedPipe. | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) void | close()Close the named pipe and virtual sockets and release any resources. | 
| (package private) void | forceClose()Force close the socket causing any pending reads/writes to fail. | 
| (package private) java.lang.String | getMAC() | 
| (package private) boolean | isConnected()Get the connected status of this socket. | 
| (package private) byte[] | sendNetPacket(SharedSocket.VirtualSocket vsock,
             byte[] buffer)Send an network packet. | 
| protected void | setTimeout(int timeout)Set the socket timeout. | 
cancel, closeStream, disableEncryption, enableEncryption, finalize, getCharset, getCharsetInfo, getHost, getIn, getMemoryBudget, getMinMemPkts, getNetPacket, getOut, getPktLen, getPort, getRequestStream, getResponseStream, getTdsVersion, setCharsetInfo, setIn, setKeepAlive, setMemoryBudget, setMinMemPkts, setOut, setTdsVersionpublic SharedLocalNamedPipe(JtdsConnection connection) throws java.io.IOException
SharedLocalNamedPipe.connection - the connection objectjava.io.IOException - if an I/O error occursjava.lang.String getMAC()
getMAC in class SharedSocketboolean isConnected()
isConnected in class SharedSockettrue if the underlying named pipe is connectedbyte[] sendNetPacket(SharedSocket.VirtualSocket vsock, byte[] buffer) throws java.io.IOException
sendNetPacket in class SharedSocketvsock - the VirtualSocket used by the originating RequestStreambuffer - the data to sendjava.io.IOException - if an I/O error occursvoid close()
     throws java.io.IOException
close in class SharedSocketjava.io.IOException - if the socket close failsvoid forceClose()
Used by the login timer to abort a login attempt.
forceClose in class SharedSocketprotected void setTimeout(int timeout)
setTimeout in class SharedSockettimeout - the timeout value in millisecondsGenerated on June 8 2013