Class SharedMemorySocket
java.lang.Object
java.net.Socket
org.mariadb.jdbc.internal.io.socket.SharedMemorySocket
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidconnect(SocketAddress endpoint) voidconnect(SocketAddress endpoint, int timeout) voidsetKeepAlive(boolean b) voidsetReceiveBufferSize(int size) voidsetSendBufferSize(int size) voidsetSoLinger(boolean b, int i) voidsetSoTimeout(int t) voidsetTcpNoDelay(boolean b) voidvoidMethods inherited from class 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
-
Constructor Details
-
SharedMemorySocket
Create ShareMemorySocket.- Parameters:
name- name- Throws:
IOException- exception
-
-
Method Details
-
connect
- Overrides:
connectin classSocket- Throws:
IOException
-
connect
- Overrides:
connectin classSocket- Throws:
IOException
-
getInputStream
- Overrides:
getInputStreamin classSocket
-
getOutputStream
- Overrides:
getOutputStreamin classSocket
-
setTcpNoDelay
public void setTcpNoDelay(boolean b) - Overrides:
setTcpNoDelayin classSocket
-
setKeepAlive
public void setKeepAlive(boolean b) - 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 b, int i) - Overrides:
setSoLingerin classSocket
-
setSoTimeout
public void setSoTimeout(int t) - Overrides:
setSoTimeoutin classSocket
-
shutdownInput
public void shutdownInput()- Overrides:
shutdownInputin classSocket
-
shutdownOutput
public void shutdownOutput()- Overrides:
shutdownOutputin classSocket
-
close
-