public abstract class AbstractInternetProtocolSendingMessageHandler extends AbstractMessageHandler implements CommonSocketOptions, ManageableLifecycle
IntegrationManagement.ManagementOverridesEXPRESSION_PARSER, loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCEMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| 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() |
handleMessage, handleMessageInternal, onComplete, onError, onNext, onSubscribebuildSendTimer, destroy, getComponentType, getIntegrationPatternType, getManagedName, getManagedType, getMetricsCaptor, getOrder, getOverrides, isLoggingEnabled, registerMetricsCaptor, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetLocalAddressgetThisAsgetBeanName, getComponentNamepublic AbstractInternetProtocolSendingMessageHandler(String host, int port)
public void setSoTimeout(int timeout)
setSoTimeout in interface CommonSocketOptionstimeout - The timeout.DatagramSocket.setSoTimeout(int)public void setSoReceiveBufferSize(int size)
setSoReceiveBufferSize in interface CommonSocketOptionssize - The receive buffer size.DatagramSocket.setReceiveBufferSize(int)public void setSoSendBufferSize(int size)
setSoSendBufferSize in interface CommonSocketOptionssize - The send buffer size.DatagramSocket.setSendBufferSize(int)public String getHost()
public int getPort()
public SocketAddress getDestinationAddress()
public int getSoTimeout()
public int getSoSendBufferSize()
public void start()
start in interface Lifecyclestart in interface ManageableLifecycleprotected abstract void doStart()
public void stop()
stop in interface Lifecyclestop in interface ManageableLifecycleprotected abstract void doStop()
public boolean isRunning()
isRunning in interface LifecycleisRunning in interface ManageableLifecycle