public class NamedPipeSocket
extends java.net.Socket
Socket implementation for named pipes.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static NamedPipeSocket |
get(java.lang.String path)
Return a new
NamedPipeSocket for the given path. |
java.io.InputStream |
getInputStream() |
java.io.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 java.io.InputStream getInputStream()
getInputStream in class java.net.Socketpublic java.io.OutputStream getOutputStream()
getOutputStream in class java.net.Socketpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.net.Socketjava.io.IOExceptionpublic static NamedPipeSocket get(java.lang.String path) throws java.io.IOException
NamedPipeSocket for the given path.path - the path to the domain socketNamedPipeSocket instancejava.io.IOException - if the socket cannot be opened