public abstract class AbstractInternetProtocolReceivingChannelAdapter extends MessageProducerSupport implements ApplicationEventPublisherAware, SchedulingAwareRunnable, CommonSocketOptions
lifecycleCondition, lifecycleLock
EXPRESSION_PARSER, logger
DEFAULT_PHASE
コンストラクターと説明 |
---|
AbstractInternetProtocolReceivingChannelAdapter(int port) |
修飾子と型 | メソッドと説明 |
---|---|
protected void | checkTaskExecutor(StringSE threadName) 何も指定されていない場合は、デフォルトのタスクエグゼキュータを作成します。 |
protected void | doStart() lifecycleLock によって保護されています |
protected void | doStop() デフォルトでは何もしません。 |
protected ApplicationEventPublisher | getApplicationEventPublisher() |
StringSE | getLocalAddress() |
int | getPort() |
int | getReceiveBufferSize() |
int | getSoReceiveBufferSize() |
int | getSoTimeout() |
ExecutorSE | getTaskExecutor() |
boolean | isActive() |
boolean | isListening() |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void | setListening(boolean listening) |
void | setLocalAddress(StringSE localAddress) マルチホームシステムでは、通信に使用されるネットワークインターフェースの IP アドレスを指定します。 |
void | setPoolSize(int poolSize) |
void | setReceiveBufferSize(int receiveBufferSize) |
void | setSoReceiveBufferSize(int soReceiveBufferSize) |
void | setSoTimeout(int soTimeout) |
void | setTaskExecutor(ExecutorSE taskExecutor) |
afterSingletonsInstantiated, buildErrorMessage, getErrorChannel, getErrorMessageAttributes, getIntegrationPatternType, getMessagingTemplate, getOutputChannel, onInit, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrack, subscribeToPublisher
destroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
isLongLived
runSE
setSoSendBufferSize
getBeanName, getComponentName, getComponentType
public AbstractInternetProtocolReceivingChannelAdapter(int port)
public int getPort()
public void setSoTimeout(int soTimeout)
CommonSocketOptions
の setSoTimeout
soTimeout
- タイムアウト。Socket.setSoTimeout(int)
SE, DatagramSocket.setSoTimeout(int)
SEpublic int getSoTimeout()
public void setSoReceiveBufferSize(int soReceiveBufferSize)
CommonSocketOptions
の setSoReceiveBufferSize
soReceiveBufferSize
- 受信バッファサイズ。Socket.setReceiveBufferSize(int)
SE, DatagramSocket.setReceiveBufferSize(int)
SEpublic int getSoReceiveBufferSize()
public void setReceiveBufferSize(int receiveBufferSize)
public int getReceiveBufferSize()
protected void doStart()
MessageProducerSupport
の doStart
protected void checkTaskExecutor(StringSE threadName)
threadName
- スレッド名。protected void doStop()
MessageProducerSupport
MessageProducerSupport
の doStop
public boolean isListening()
public void setListening(boolean listening)
listening
- セットを聞く public StringSE getLocalAddress()
public void setLocalAddress(StringSE localAddress)
CommonSocketOptions
CommonSocketOptions
の setLocalAddress
localAddress
- ローカルアドレス。public void setPoolSize(int poolSize)
public void setTaskExecutor(ExecutorSE taskExecutor)
public ExecutorSE getTaskExecutor()
protected ApplicationEventPublisher getApplicationEventPublisher()
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
ApplicationEventPublisherAware
の setApplicationEventPublisher
public boolean isActive()