Interface ClientModeCapable
- All Known Implementing Classes:
TcpInboundGateway
,TcpReceivingChannelAdapter
,TcpSendingMessageHandler
public interface ClientModeCapable
Edpoints implementing this interface are capable
of running in client-mode. For inbound endpoints,
this means that the endpoint establishes the connection
and then receives incoming data.
For an outbound adapter, it means that the adapter will establish the connection rather than waiting for a message to cause the connection to be established.
- Since:
- 2.1
- Author:
- Gary Russell
-
Method Summary
Modifier and Type Method Description boolean
isClientMode()
boolean
isClientModeConnected()
void
retryConnection()
Immediately attempt to establish the connection.
-
Method Details
-
isClientMode
- Returns:
- true if the endpoint is running in client mode.
-
isClientModeConnected
- Returns:
- true if the endpoint is running in client mode.
-
retryConnection
Immediately attempt to establish the connection.
-