Closeable, AutoCloseablepublic class SdkSocket extends DelegateSocket
| Modifier and Type | Method | 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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOption, setOption, setSocketImplFactory, supportedOptionspublic 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 AutoCloseableclose in interface Closeableclose in class DelegateSocketIOExceptionpublic void shutdownInput()
throws IOException
shutdownInput in class DelegateSocketIOExceptionpublic void shutdownOutput()
throws IOException
shutdownOutput in class DelegateSocketIOExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.