public class SharedMemorySocket extends Socket
Modifier and Type | Class and Description |
---|---|
static interface |
SharedMemorySocket.Advapi32 |
static interface |
SharedMemorySocket.Kernel32 |
Constructor and Description |
---|
SharedMemorySocket(String name)
Create ShareMemorySocket.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout) |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
void |
setKeepAlive(boolean b) |
void |
setReceiveBufferSize(int size) |
void |
setSendBufferSize(int size) |
void |
setSoLinger(boolean b,
int i) |
void |
setSoTimeout(int t) |
void |
setTcpNoDelay(boolean b) |
void |
shutdownInput() |
void |
shutdownOutput() |
bind, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, toString
public SharedMemorySocket(String name) throws IOException
name
- nameIOException
- exceptionpublic void connect(SocketAddress endpoint) throws IOException
connect
in class Socket
IOException
public void connect(SocketAddress endpoint, int timeout) throws IOException
connect
in class Socket
IOException
public InputStream getInputStream()
getInputStream
in class Socket
public OutputStream getOutputStream()
getOutputStream
in class Socket
public void setTcpNoDelay(boolean b)
setTcpNoDelay
in class Socket
public void setKeepAlive(boolean b)
setKeepAlive
in class Socket
public void setReceiveBufferSize(int size)
setReceiveBufferSize
in class Socket
public void setSendBufferSize(int size)
setSendBufferSize
in class Socket
public void setSoLinger(boolean b, int i)
setSoLinger
in class Socket
public void setSoTimeout(int t)
setSoTimeout
in class Socket
public void shutdownInput()
shutdownInput
in class Socket
public void shutdownOutput()
shutdownOutput
in class Socket
Copyright © 2018 mariadb.org. All rights reserved.