类 AbstractSocket
java.lang.Object
java.net.Socket
cn.taketoday.buildpack.platform.socket.AbstractSocket
- 所有已实现的接口:
Closeable,AutoCloseable
- 直接已知子类:
DomainSocket
Abstract base class for custom socket implementation.
- 作者:
- Phillip Webb
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidconnect(SocketAddress endpoint) voidconnect(SocketAddress endpoint, int timeout) booleanisBound()booleanvoidvoid从类继承的方法 java.net.Socket
bind, close, getChannel, getInputStream, getKeepAlive, getLocalPort, getOOBInline, getOption, getOutputStream, 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
-
构造器详细资料
-
AbstractSocket
AbstractSocket()
-
-
方法详细资料
-
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
-
getLocalSocketAddress
- 覆盖:
getLocalSocketAddress在类中Socket
-
getRemoteSocketAddress
- 覆盖:
getRemoteSocketAddress在类中Socket
-