Class SocketInfo
java.lang.Object
org.springframework.integration.ip.tcp.connection.SocketInfo
Simple wrapper around
Socket
providing access to getters (except
input/output streams).- Since:
- 4.2.5
- Author:
- Gary Russell
-
Constructor Details
-
SocketInfo
-
-
Method Details
-
getInetAddress
-
getLocalAddress
-
getPort
public int getPort() -
getLocalPort
public int getLocalPort() -
getRemoteSocketAddress
-
getLocalSocketAddress
-
getChannel
-
getTcpNoDelay
- Throws:
SocketException
-
getSoLinger
- Throws:
SocketException
-
getOOBInline
- Throws:
SocketException
-
getSoTimeout
- Throws:
SocketException
-
getSendBufferSize
- Throws:
SocketException
-
getReceiveBufferSize
- Throws:
SocketException
-
getKeepAlive
- Throws:
SocketException
-
getTrafficClass
- Throws:
SocketException
-
getReuseAddress
- Throws:
SocketException
-
toString
-
isConnected
public boolean isConnected() -
isClosed
public boolean isClosed() -
isInputShutdown
public boolean isInputShutdown() -
isOutputShutdown
public boolean isOutputShutdown()
-