Package alt.java.net
Class SocketImpl
java.lang.Object
alt.java.net.SocketImpl
- All Implemented Interfaces:
Socket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
int
int
getPort()
int
int
int
int
boolean
void
setKeepAlive
(boolean on) void
setReceiveBufferSize
(int size) void
setSendBufferSize
(int size) void
setSoLinger
(boolean on, int linger) void
setSoTimeout
(int timeout) void
setTcpNoDelay
(boolean on) void
void
-
Constructor Details
-
SocketImpl
-
-
Method Details
-
getInetAddress
- Specified by:
getInetAddress
in interfaceSocket
-
getLocalAddress
- Specified by:
getLocalAddress
in interfaceSocket
-
getPort
public int getPort() -
getLocalPort
public int getLocalPort()- Specified by:
getLocalPort
in interfaceSocket
-
getInputStream
- Specified by:
getInputStream
in interfaceSocket
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in interfaceSocket
- Throws:
IOException
-
setTcpNoDelay
- Specified by:
setTcpNoDelay
in interfaceSocket
- Throws:
SocketException
-
getTcpNoDelay
- Specified by:
getTcpNoDelay
in interfaceSocket
- Throws:
SocketException
-
setSoLinger
- Specified by:
setSoLinger
in interfaceSocket
- Throws:
SocketException
-
getSoLinger
- Specified by:
getSoLinger
in interfaceSocket
- Throws:
SocketException
-
setSoTimeout
- Specified by:
setSoTimeout
in interfaceSocket
- Throws:
SocketException
-
getSoTimeout
- Specified by:
getSoTimeout
in interfaceSocket
- Throws:
SocketException
-
setSendBufferSize
- Specified by:
setSendBufferSize
in interfaceSocket
- Throws:
SocketException
-
getSendBufferSize
- Specified by:
getSendBufferSize
in interfaceSocket
- Throws:
SocketException
-
setReceiveBufferSize
- Specified by:
setReceiveBufferSize
in interfaceSocket
- Throws:
SocketException
-
getReceiveBufferSize
- Specified by:
getReceiveBufferSize
in interfaceSocket
- Throws:
SocketException
-
setKeepAlive
- Specified by:
setKeepAlive
in interfaceSocket
- Throws:
SocketException
-
getKeepAlive
- Specified by:
getKeepAlive
in interfaceSocket
- Throws:
SocketException
-
close
- Specified by:
close
in interfaceSocket
- Throws:
IOException
-
shutdownInput
- Specified by:
shutdownInput
in interfaceSocket
- Throws:
IOException
-
shutdownOutput
- Specified by:
shutdownOutput
in interfaceSocket
- Throws:
IOException
-