public class NamedPipeSocket extends Socket
Socket implementation for named pipes.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static NamedPipeSocket |
get(String path)
Return a new
NamedPipeSocket for the given path. |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toStringpublic InputStream getInputStream()
getInputStream in class Socketpublic OutputStream getOutputStream()
getOutputStream in class Socketpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SocketIOExceptionpublic static NamedPipeSocket get(String path) throws IOException
NamedPipeSocket for the given path.path - the path to the domain socketNamedPipeSocket instanceIOException - if the socket cannot be opened