org.springframework.integration.ip
Interface CommonSocketOptions

All Known Implementing Classes:
AbstractInternetProtocolReceivingChannelAdapter, AbstractInternetProtocolSendingMessageHandler, MulticastReceivingChannelAdapter, MulticastSendingMessageHandler, UnicastReceivingChannelAdapter, UnicastSendingMessageHandler

public interface CommonSocketOptions

Since:
2.0

Method Summary
 void setLocalAddress(java.lang.String localAddress)
          On a multi-homed system, specifies the ip address of the network interface used to communicate.
 void setSoReceiveBufferSize(int soReceiveBufferSize)
           
 void setSoSendBufferSize(int soSendBufferSize)
           
 void setSoTimeout(int soTimeout)
           
 

Method Detail

setSoTimeout

void setSoTimeout(int soTimeout)
See Also:
Socket.setSoTimeout(int), DatagramSocket.setSoTimeout(int)

setSoReceiveBufferSize

void setSoReceiveBufferSize(int soReceiveBufferSize)
See Also:
Socket.setReceiveBufferSize(int), DatagramSocket.setReceiveBufferSize(int)

setSoSendBufferSize

void setSoSendBufferSize(int soSendBufferSize)
See Also:
Socket.setSendBufferSize(int), DatagramSocket.setSendBufferSize(int)

setLocalAddress

void setLocalAddress(java.lang.String localAddress)
On 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 -