类 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
-
方法概要
修饰符和类型方法说明voidclose()voidconnect(SocketAddress endpoint) voidconnect(SocketAddress endpoint, int timeout) static NamedPipeSocketReturn a newNamedPipeSocketfor 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 newNamedPipeSocketfor the given path.- 参数:
path- the path to the domain socket- 返回:
- a
NamedPipeSocketinstance - 抛出:
IOException- if the socket cannot be opened
-