类 BsdDomainSocket
java.lang.Object
java.net.Socket
cn.taketoday.buildpack.platform.socket.AbstractSocket
cn.taketoday.buildpack.platform.socket.DomainSocket
cn.taketoday.buildpack.platform.socket.BsdDomainSocket
- 所有已实现的接口:
Closeable,AutoCloseable
DomainSocket implementation for BSD based platforms.- 作者:
- Phillip Webb
-
嵌套类概要
嵌套类修饰符和类型类说明static classNativesockaddr_unstructure as defined insys/un.h. -
字段概要
字段从类继承的字段 cn.taketoday.buildpack.platform.socket.DomainSocket
AF_LOCAL, PF_LOCAL, SOCK_STREAM -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private intconnect(int fd, BsdDomainSocket.SockaddrUn address, int addressLen) protected void从类继承的方法 cn.taketoday.buildpack.platform.socket.DomainSocket
close, get, getInputStream, getOutputStream, write从类继承的方法 cn.taketoday.buildpack.platform.socket.AbstractSocket
connect, connect, getInetAddress, getLocalAddress, getLocalSocketAddress, getRemoteSocketAddress, isBound, isConnected, shutdownInput, shutdownOutput从类继承的方法 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
-
字段详细资料
-
MAX_PATH_LENGTH
private static final int MAX_PATH_LENGTH- 另请参阅:
-
-
构造器详细资料
-
BsdDomainSocket
BsdDomainSocket(String path) throws IOException - 抛出:
IOException
-
-
方法详细资料
-
connect
- 指定者:
connect在类中DomainSocket
-
connect
private int connect(int fd, BsdDomainSocket.SockaddrUn address, int addressLen) throws com.sun.jna.LastErrorException - 抛出:
com.sun.jna.LastErrorException
-