public class SdkSocket extends DelegateSocket
sock
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout) |
void |
shutdownInput() |
void |
shutdownOutput() |
bind, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, toString
setSocketImplFactory
public SdkSocket(Socket sock)
public void connect(SocketAddress endpoint) throws IOException
connect
in class DelegateSocket
IOException
public void connect(SocketAddress endpoint, int timeout) throws IOException
connect
in class DelegateSocket
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class DelegateSocket
IOException
public void shutdownInput() throws IOException
shutdownInput
in class DelegateSocket
IOException
public void shutdownOutput() throws IOException
shutdownOutput
in class DelegateSocket
IOException
Copyright © 2021. All rights reserved.