public class SharedMemorySocket extends Socket
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
SharedMemorySocket.Advapi32 |
static interface |
SharedMemorySocket.Kernel32 |
| 构造器和说明 |
|---|
SharedMemorySocket(String name)
Create ShareMemorySocket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, toStringpublic SharedMemorySocket(String name) throws IOException
name - nameIOException - exceptionpublic void connect(SocketAddress endpoint) throws IOException
connect 在类中 SocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect 在类中 SocketIOExceptionpublic InputStream getInputStream()
getInputStream 在类中 Socketpublic OutputStream getOutputStream()
getOutputStream 在类中 Socketpublic void setTcpNoDelay(boolean b)
setTcpNoDelay 在类中 Socketpublic void setKeepAlive(boolean b)
setKeepAlive 在类中 Socketpublic void setReceiveBufferSize(int size)
setReceiveBufferSize 在类中 Socketpublic void setSendBufferSize(int size)
setSendBufferSize 在类中 Socketpublic void setSoLinger(boolean b,
int i)
setSoLinger 在类中 Socketpublic void setSoTimeout(int t)
setSoTimeout 在类中 Socketpublic void shutdownInput()
shutdownInput 在类中 Socketpublic void shutdownOutput()
shutdownOutput 在类中 SocketCopyright © 2024 oceanbase.com. All rights reserved.