class NamedPipeSocketFactory.NamedPipeSocket
extends java.net.Socket
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isClosed |
private java.io.RandomAccessFile |
namedPipeFile |
| Constructor and Description |
|---|
NamedPipeSocket(java.lang.String filePath,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
boolean |
isClosed() |
void |
shutdownInput() |
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownOutput, toStringprivate boolean isClosed
private java.io.RandomAccessFile namedPipeFile
NamedPipeSocket(java.lang.String filePath,
int timeout)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.net.Socketjava.io.IOExceptionSocket.close()public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.Socketjava.io.IOExceptionSocket.getInputStream()public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in class java.net.Socketjava.io.IOExceptionSocket.getOutputStream()public boolean isClosed()
isClosed in class java.net.SocketSocket.isClosed()public void shutdownInput()
throws java.io.IOException
shutdownInput in class java.net.Socketjava.io.IOException