类 NamedPipeSocket
java.lang.Object
java.net.Socket
org.springframework.boot.buildpack.platform.socket.NamedPipeSocket
- 所有已实现的接口:
Closeable
,AutoCloseable
A
Socket
implementation for named pipes.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Scott Frederick
-
方法概要
修饰符和类型方法说明void
close()
void
connect
(SocketAddress endpoint) void
connect
(SocketAddress endpoint, int timeout) static NamedPipeSocket
Return a newNamedPipeSocket
for the given path.从类继承的方法 java.net.Socket
bind, 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
-
方法详细资料
-
connect
- 覆盖:
connect
在类中Socket
- 抛出:
IOException
-
connect
- 覆盖:
connect
在类中Socket
- 抛出:
IOException
-
getInputStream
- 覆盖:
getInputStream
在类中Socket
-
getOutputStream
- 覆盖:
getOutputStream
在类中Socket
-
close
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Closeable
- 覆盖:
close
在类中Socket
- 抛出:
IOException
-
get
Return a newNamedPipeSocket
for the given path.- 参数:
path
- the path to the domain socket- 返回:
- a
NamedPipeSocket
instance - 抛出:
IOException
- if the socket cannot be opened
-