Package alt.java.net
Class SocketImpl
java.lang.Object
alt.java.net.SocketImpl
- All Implemented Interfaces:
Socket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanintintgetPort()intintintintbooleanvoidsetKeepAlive(boolean on) voidsetReceiveBufferSize(int size) voidsetSendBufferSize(int size) voidsetSoLinger(boolean on, int linger) voidsetSoTimeout(int timeout) voidsetTcpNoDelay(boolean on) voidvoid
-
Constructor Details
-
SocketImpl
-
-
Method Details
-
getInetAddress
- Specified by:
getInetAddressin interfaceSocket
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceSocket
-
getPort
public int getPort() -
getLocalPort
public int getLocalPort()- Specified by:
getLocalPortin interfaceSocket
-
getInputStream
- Specified by:
getInputStreamin interfaceSocket- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStreamin interfaceSocket- Throws:
IOException
-
setTcpNoDelay
- Specified by:
setTcpNoDelayin interfaceSocket- Throws:
SocketException
-
getTcpNoDelay
- Specified by:
getTcpNoDelayin interfaceSocket- Throws:
SocketException
-
setSoLinger
- Specified by:
setSoLingerin interfaceSocket- Throws:
SocketException
-
getSoLinger
- Specified by:
getSoLingerin interfaceSocket- Throws:
SocketException
-
setSoTimeout
- Specified by:
setSoTimeoutin interfaceSocket- Throws:
SocketException
-
getSoTimeout
- Specified by:
getSoTimeoutin interfaceSocket- Throws:
SocketException
-
setSendBufferSize
- Specified by:
setSendBufferSizein interfaceSocket- Throws:
SocketException
-
getSendBufferSize
- Specified by:
getSendBufferSizein interfaceSocket- Throws:
SocketException
-
setReceiveBufferSize
- Specified by:
setReceiveBufferSizein interfaceSocket- Throws:
SocketException
-
getReceiveBufferSize
- Specified by:
getReceiveBufferSizein interfaceSocket- Throws:
SocketException
-
setKeepAlive
- Specified by:
setKeepAlivein interfaceSocket- Throws:
SocketException
-
getKeepAlive
- Specified by:
getKeepAlivein interfaceSocket- Throws:
SocketException
-
close
- Specified by:
closein interfaceSocket- Throws:
IOException
-
shutdownInput
- Specified by:
shutdownInputin interfaceSocket- Throws:
IOException
-
shutdownOutput
- Specified by:
shutdownOutputin interfaceSocket- Throws:
IOException
-