Class NamedPipeSocket
java.lang.Object
java.net.Socket
org.mariadb.jdbc.internal.io.socket.NamedPipeSocket
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RandomAccessFileprivate final Stringprivate InputStreamprivate final Stringprivate OutputStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidconnect(SocketAddress endpoint) voidconnect(SocketAddress endpoint, int timeout) Name pipe connection.voidsetKeepAlive(boolean bool) voidsetReceiveBufferSize(int size) voidsetSendBufferSize(int size) voidsetSoLinger(boolean bool, int value) voidsetSoTimeout(int timeout) voidsetTcpNoDelay(boolean bool) voidvoidMethods inherited from class java.net.Socket
bind, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOption, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setOption, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, supportedOptions, toString
-
Field Details
-
host
-
name
-
file
-
is
-
os
-
-
Constructor Details
-
NamedPipeSocket
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classSocket- Throws:
IOException
-
connect
- Overrides:
connectin classSocket- Throws:
IOException
-
connect
Name pipe connection.- Overrides:
connectin classSocket- Parameters:
endpoint- endPointtimeout- timeout in milliseconds- Throws:
IOException- exception
-
getInputStream
- Overrides:
getInputStreamin classSocket
-
getOutputStream
- Overrides:
getOutputStreamin classSocket
-
setTcpNoDelay
public void setTcpNoDelay(boolean bool) - Overrides:
setTcpNoDelayin classSocket
-
setKeepAlive
public void setKeepAlive(boolean bool) - Overrides:
setKeepAlivein classSocket
-
setReceiveBufferSize
public void setReceiveBufferSize(int size) - Overrides:
setReceiveBufferSizein classSocket
-
setSendBufferSize
public void setSendBufferSize(int size) - Overrides:
setSendBufferSizein classSocket
-
setSoLinger
public void setSoLinger(boolean bool, int value) - Overrides:
setSoLingerin classSocket
-
setSoTimeout
public void setSoTimeout(int timeout) - Overrides:
setSoTimeoutin classSocket
-
shutdownInput
public void shutdownInput()- Overrides:
shutdownInputin classSocket
-
shutdownOutput
public void shutdownOutput()- Overrides:
shutdownOutputin classSocket
-