public abstract class AbstractInternetProtocolSendingMessageHandler extends org.springframework.integration.handler.AbstractMessageHandler implements CommonSocketOptions, org.springframework.context.Lifecycle
EXPRESSION_PARSER, logger| Constructor and Description |
|---|
AbstractInternetProtocolSendingMessageHandler(java.lang.String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doStart() |
protected abstract void |
doStop() |
java.net.SocketAddress |
getDestinationAddress() |
java.lang.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() |
configureMetrics, getActiveCount, getActiveCountLong, getComponentType, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, handleMessageInternal, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onInit, onNext, onSubscribe, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetLocalAddresspublic AbstractInternetProtocolSendingMessageHandler(java.lang.String host,
int port)
public void setSoTimeout(int timeout)
setSoTimeout in interface CommonSocketOptionstimeout - The timeout.Socket.setSoTimeout(int),
DatagramSocket.setSoTimeout(int)public void setSoReceiveBufferSize(int size)
setSoReceiveBufferSize in interface CommonSocketOptionssize - The receive buffer size.Socket.setReceiveBufferSize(int),
DatagramSocket.setReceiveBufferSize(int)public void setSoSendBufferSize(int size)
setSoSendBufferSize in interface CommonSocketOptionssize - The send buffer size.Socket.setSendBufferSize(int),
DatagramSocket.setSendBufferSize(int)public java.lang.String getHost()
public int getPort()
public java.net.SocketAddress getDestinationAddress()
public int getSoTimeout()
public int getSoSendBufferSize()
public void start()
start in interface org.springframework.context.Lifecycleprotected abstract void doStart()
public void stop()
stop in interface org.springframework.context.Lifecycleprotected abstract void doStop()
public boolean isRunning()
isRunning in interface org.springframework.context.Lifecycle