Class NamedPipeSocket
- java.lang.Object
-
- java.net.Socket
-
- org.mariadb.jdbc.client.socket.impl.NamedPipeSocket
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class NamedPipeSocket extends java.net.SocketWindows named pipe socket implementation
-
-
Constructor Summary
Constructors Constructor Description NamedPipeSocket(java.lang.String host, java.lang.String name)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidconnect(java.net.SocketAddress endpoint, int timeout)Name pipe connection.java.io.InputStreamgetInputStream()java.io.OutputStreamgetOutputStream()voidsetKeepAlive(boolean bool)voidsetSoLinger(boolean bool, int value)voidsetSoTimeout(int timeout)voidsetTcpNoDelay(boolean bool)voidshutdownOutput()-
Methods inherited from class java.net.Socket
bind, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setTrafficClass, shutdownInput, toString
-
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.net.Socket- Throws:
java.io.IOException
-
connect
public void connect(java.net.SocketAddress endpoint, int timeout) throws java.io.IOExceptionName pipe connection.- Overrides:
connectin classjava.net.Socket- Parameters:
endpoint- endPointtimeout- timeout in milliseconds- Throws:
java.io.IOException- exception
-
getInputStream
public java.io.InputStream getInputStream()
- Overrides:
getInputStreamin classjava.net.Socket
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Overrides:
getOutputStreamin classjava.net.Socket
-
setTcpNoDelay
public void setTcpNoDelay(boolean bool)
- Overrides:
setTcpNoDelayin classjava.net.Socket
-
setKeepAlive
public void setKeepAlive(boolean bool)
- Overrides:
setKeepAlivein classjava.net.Socket
-
setSoLinger
public void setSoLinger(boolean bool, int value)- Overrides:
setSoLingerin classjava.net.Socket
-
setSoTimeout
public void setSoTimeout(int timeout)
- Overrides:
setSoTimeoutin classjava.net.Socket
-
shutdownOutput
public void shutdownOutput()
- Overrides:
shutdownOutputin classjava.net.Socket
-
-