public abstract class DomainSocket extends SocketSE
Socket
SE 実装。修飾子と型 | フィールドと説明 |
---|---|
protected static byte | AF_LOCAL |
protected static int | PF_LOCAL |
protected static int | SOCK_STREAM |
修飾子と型 | メソッドと説明 |
---|---|
void | close() |
void | connect(SocketAddressSE endpoint) |
void | connect(SocketAddressSE endpoint, int timeout) |
protected abstract void | connect(StringSE path, int handle) |
static DomainSocket | get(StringSE path) 指定されたパスの新しい DomainSocket を返します。 |
InetAddressSE | getInetAddress() |
InputStreamSE | getInputStream() |
InetAddressSE | getLocalAddress() |
SocketAddressSE | getLocalSocketAddress() |
OutputStreamSE | getOutputStream() |
SocketAddressSE | getRemoteSocketAddress() |
boolean | isBound() |
boolean | isConnected() |
void | shutdownInput() |
void | shutdownOutput() |
void | write(ByteBufferSE buffer) |
bindSE, getChannelSE, getKeepAliveSE, getLocalPortSE, getOOBInlineSE, getPortSE, getReceiveBufferSizeSE, getReuseAddressSE, getSendBufferSizeSE, getSoLingerSE, getSoTimeoutSE, getTcpNoDelaySE, getTrafficClassSE, isClosedSE, isInputShutdownSE, isOutputShutdownSE, sendUrgentDataSE, setKeepAliveSE, setOOBInlineSE, setPerformancePreferencesSE, setReceiveBufferSizeSE, setReuseAddressSE, setSendBufferSizeSE, setSocketImplFactorySE, setSoLingerSE, setSoTimeoutSE, setTcpNoDelaySE, setTrafficClassSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
protected static final int PF_LOCAL
protected static final byte AF_LOCAL
protected static final int SOCK_STREAM
public void write(ByteBufferSE buffer) throws IOExceptionSE
public InputStreamSE getInputStream()
SocketSE
の getInputStreamSE
public OutputStreamSE getOutputStream()
SocketSE
の getOutputStreamSE
public void close() throws IOExceptionSE
CloseableSE
の closeSE
AutoCloseableSE
の closeSE
SocketSE
の closeSE
IOExceptionSE
protected abstract void connect(StringSE path, int handle)
public static DomainSocket get(StringSE path) throws IOExceptionSE
DomainSocket
を返します。path
- ドメインソケットへのパス DomainSocket
インスタンス IOExceptionSE
- ソケットを開けない場合 public void connect(SocketAddressSE endpoint) throws IOExceptionSE
SocketSE
の connectSE
IOExceptionSE
public void connect(SocketAddressSE endpoint, int timeout) throws IOExceptionSE
SocketSE
の connectSE
IOExceptionSE
public boolean isConnected()
SocketSE
の isConnectedSE
public void shutdownInput() throws IOExceptionSE
SocketSE
の shutdownInputSE
IOExceptionSE
public void shutdownOutput() throws IOExceptionSE
SocketSE
の shutdownOutputSE
IOExceptionSE
public InetAddressSE getInetAddress()
SocketSE
の getInetAddressSE
public InetAddressSE getLocalAddress()
SocketSE
の getLocalAddressSE
public SocketAddressSE getLocalSocketAddress()
SocketSE
の getLocalSocketAddressSE
public SocketAddressSE getRemoteSocketAddress()
SocketSE
の getRemoteSocketAddressSE