类 UnixDomainSocket
java.lang.Object
java.net.Socket
org.springframework.boot.buildpack.platform.socket.UnixDomainSocket
- 所有已实现的接口:
Closeable
,AutoCloseable
A
Socket
implementation for Unix domain sockets.- 从以下版本开始:
- 3.4.0
- 作者:
- Scott Frederick
-
方法概要
修饰符和类型方法说明void
close()
void
connect
(SocketAddress endpoint) void
connect
(SocketAddress endpoint, int timeout) static Socket
Create a newSocket
for the given path.boolean
isBound()
boolean
void
void
从类继承的方法 java.net.Socket
bind, getChannel, getKeepAlive, getLocalPort, getOOBInline, getOption, getPort, getReceiveBufferSize, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isClosed, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, supportedOptions, toString
-
方法详细资料
-
get
Create a newSocket
for the given path.- 参数:
path
- the path to the domain socket- 返回:
- a
Socket
instance - 抛出:
IOException
- if the socket cannot be opened
-
getInputStream
- 覆盖:
getInputStream
在类中Socket
- 抛出:
IOException
-
getOutputStream
- 覆盖:
getOutputStream
在类中Socket
- 抛出:
IOException
-
getLocalSocketAddress
-
getRemoteSocketAddress
-
close
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Closeable
- 覆盖:
close
在类中Socket
- 抛出:
IOException
-
connect
- 覆盖:
connect
在类中Socket
- 抛出:
IOException
-
connect
- 覆盖:
connect
在类中Socket
- 抛出:
IOException
-
isConnected
public boolean isConnected()- 覆盖:
isConnected
在类中Socket
-
isBound
public boolean isBound() -
shutdownInput
- 覆盖:
shutdownInput
在类中Socket
- 抛出:
IOException
-
shutdownOutput
- 覆盖:
shutdownOutput
在类中Socket
- 抛出:
IOException
-
getInetAddress
- 覆盖:
getInetAddress
在类中Socket
-
getLocalAddress
- 覆盖:
getLocalAddress
在类中Socket
-