public abstract class AbstractInternetProtocolSendingMessageHandler extends AbstractMessageHandler implements CommonSocketOptions, Lifecycle
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
AbstractInternetProtocolSendingMessageHandler(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doStart() |
protected abstract void |
doStop() |
SocketAddress |
getDestinationAddress() |
String |
getHost() |
int |
getPort() |
int |
getSoSendBufferSize() |
int |
getSoTimeout() |
boolean |
isRunning() |
void |
setSoReceiveBufferSize(int size) |
void |
setSoSendBufferSize(int size) |
void |
setSoTimeout(int timeout) |
void |
start() |
void |
stop() |
getComponentType, getOrder, handleMessage, handleMessageInternal, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setLocalAddress
getComponentName
public AbstractInternetProtocolSendingMessageHandler(String host, int port)
public void setSoTimeout(int timeout)
setSoTimeout
in interface CommonSocketOptions
timeout
- The timeout.Socket.setSoTimeout(int)
,
DatagramSocket.setSoTimeout(int)
public void setSoReceiveBufferSize(int size)
setSoReceiveBufferSize
in interface CommonSocketOptions
size
- The receive buffer size.Socket.setReceiveBufferSize(int)
,
DatagramSocket.setReceiveBufferSize(int)
public void setSoSendBufferSize(int size)
setSoSendBufferSize
in interface CommonSocketOptions
size
- The send buffer size.Socket.setSendBufferSize(int)
,
DatagramSocket.setSendBufferSize(int)
public String getHost()
public int getPort()
public SocketAddress getDestinationAddress()
public int getSoTimeout()
public int getSoSendBufferSize()
protected abstract void doStart()
protected abstract void doStop()