类 NamedPipeSocket
java.lang.Object
java.net.Socket
cn.taketoday.buildpack.platform.socket.NamedPipeSocket
- 所有已实现的接口:
Closeable,AutoCloseable
A
Socket implementation for named pipes.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick
-
嵌套类概要
嵌套类修饰符和类型类说明private static classAdapt anAsynchronousByteChannelto anAsynchronousFileChannel.private static classWaits for the name pipe file using a simple sleep.private static classWaits for the name pipe file using Windows specific logic. -
字段概要
字段修饰符和类型字段说明private final NamedPipeSocket.AsynchronousFileByteChannelprivate static final longprivate static final int -
构造器概要
构造器 -
方法概要
从类继承的方法 java.net.Socket
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOption, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, supportedOptions, toString
-
字段详细资料
-
WAIT_INTERVAL
private static final int WAIT_INTERVAL- 另请参阅:
-
TIMEOUT
private static final long TIMEOUT -
channel
-
-
构造器详细资料
-
NamedPipeSocket
NamedPipeSocket(String path) throws IOException - 抛出:
IOException
-
-
方法详细资料
-
open
- 抛出:
IOException
-
getInputStream
- 覆盖:
getInputStream在类中Socket
-
getOutputStream
- 覆盖:
getOutputStream在类中Socket
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中Socket- 抛出:
IOException
-
get
Return a newNamedPipeSocketfor the given path.- 参数:
path- the path to the domain socket- 返回:
- a
NamedPipeSocketinstance - 抛出:
IOException- if the socket cannot be opened
-