Interface CommonSocketOptions
- All Known Implementing Classes:
- AbstractInternetProtocolReceivingChannelAdapter,- AbstractInternetProtocolSendingMessageHandler,- MulticastReceivingChannelAdapter,- MulticastSendingMessageHandler,- UnicastReceivingChannelAdapter,- UnicastSendingMessageHandler
public interface CommonSocketOptions
- Since:
- 2.0
- Author:
- Gary Russell
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetLocalAddress(String localAddress) On a multi-homed system, specifies the ip address of the network interface used to communicate.voidsetSoReceiveBufferSize(int soReceiveBufferSize) voidsetSoSendBufferSize(int soSendBufferSize) voidsetSoTimeout(int soTimeout) 
- 
Method Details- 
setSoTimeoutvoid setSoTimeout(int soTimeout) - Parameters:
- soTimeout- The timeout, in milliseconds.
- See Also:
 
- 
setSoReceiveBufferSizevoid setSoReceiveBufferSize(int soReceiveBufferSize) - Parameters:
- soReceiveBufferSize- The receive buffer size.
- See Also:
 
- 
setSoSendBufferSizevoid setSoSendBufferSize(int soSendBufferSize) - Parameters:
- soSendBufferSize- The send buffer size.
- See Also:
 
- 
setLocalAddressOn a multi-homed system, specifies the ip address of the network interface used to communicate. For inbound adapters and gateways, specifies the interface used to listed for incoming connections. If omitted, the endpoint will listen on all available adapters. For the UDP multicast outbound adapter specifies the interface to which multicast packets will be sent. For UDP unicast and multicast adapters, specifies which interface to which the acknowledgment socket will be bound. Does not apply to TCP outbound adapters and gateways.- Parameters:
- localAddress- The local address.
 
 
-