public class SdkSocket extends DelegateSocket
| 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, toStringsetSocketImplFactorypublic SdkSocket(Socket sock)
public void connect(SocketAddress endpoint) throws IOException
connect in class DelegateSocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect in class DelegateSocketIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DelegateSocketIOExceptionpublic void shutdownInput()
throws IOException
shutdownInput in class DelegateSocketIOExceptionpublic void shutdownOutput()
throws IOException
shutdownOutput in class DelegateSocketIOException