public class NamedPipeSocket extends Socket
| Constructor and Description |
|---|
NamedPipeSocket(String host,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(SocketAddress endpoint,
int timeout)
Name pipe connection.
|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
void |
setKeepAlive(boolean bool) |
void |
setSoLinger(boolean bool,
int value) |
void |
setSoTimeout(int timeout) |
void |
setTcpNoDelay(boolean bool) |
void |
shutdownOutput() |
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, toStringpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect in class Socketendpoint - endPointtimeout - timeout in millisecondsIOException - exceptionpublic InputStream getInputStream()
getInputStream in class Socketpublic OutputStream getOutputStream()
getOutputStream in class Socketpublic void setTcpNoDelay(boolean bool)
setTcpNoDelay in class Socketpublic void setKeepAlive(boolean bool)
setKeepAlive in class Socketpublic void setSoLinger(boolean bool,
int value)
setSoLinger in class Socketpublic void setSoTimeout(int timeout)
setSoTimeout in class Socketpublic void shutdownOutput()
shutdownOutput in class SocketCopyright © 2025 SingleStore. All rights reserved.