クラス AbstractInternetProtocolReceivingChannelAdapter
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.ip.AbstractInternetProtocolReceivingChannelAdapter
- 実装されたすべてのインターフェース:
RunnableSE
、Aware
、BeanFactoryAware
、BeanNameAware
、DisposableBean
、InitializingBean
、SmartInitializingSingleton
、ApplicationContextAware
、ApplicationEventPublisherAware
、Lifecycle
、Phased
、SmartLifecycle
、ComponentSourceAware
、ExpressionCapable
、MessageProducer
、IntegrationPattern
、CommonSocketOptions
、NamedComponent
、IntegrationInboundManagement
、IntegrationManagement
、ManageableLifecycle
、ManageableSmartLifecycle
、TrackableComponent
、SchedulingAwareRunnable
- 既知の直属サブクラス
UnicastReceivingChannelAdapter
public abstract class AbstractInternetProtocolReceivingChannelAdapter
extends MessageProducerSupport
implements ApplicationEventPublisherAware, SchedulingAwareRunnable, CommonSocketOptions
受信 TCP/UDP チャネルアダプターの基本クラス。
- 導入:
- 2.0
- 作成者:
- Mark Fisher, Gary Russell, Artem Bilan
ネストされたクラスのサマリー
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverrides
フィールドのサマリー
クラス org.springframework.integration.endpoint.AbstractEndpoint から継承されたフィールド
lifecycleCondition, lifecycleLock
クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, logger
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected void
checkTaskExecutor
(StringSE threadName) 何も指定されていない場合は、デフォルトのタスクエグゼキュータを作成します。protected void
doStart()
デフォルトでは何もしません。protected void
doStop()
デフォルトでは何もしません。protected ApplicationEventPublisher
int
getPort()
int
int
int
boolean
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) クラス org.springframework.integration.endpoint.MessageProducerSupport から継承されたメソッド
afterSingletonsInstantiated, buildErrorMessage, getErrorChannel, getErrorMessageAttributes, getErrorMessageStrategy, getIntegrationPatternType, getMessagingTemplate, getOutputChannel, isObserved, onInit, registerObservationRegistry, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setObservationConvention, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrack, subscribeToPublisher
クラス org.springframework.integration.endpoint.AbstractEndpoint から継承されたメソッド
destroy, doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getComponentType, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.integration.ip.CommonSocketOptions から継承されたメソッド
setSoSendBufferSize
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
destroy, getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, registerMetricsCaptor, setLoggingEnabled, setManagedName, setManagedType
インターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド
getBeanName, getComponentName, getComponentType
インターフェース java.lang.RunnableSE から継承されたメソッド
run
インターフェース org.springframework.scheduling.SchedulingAwareRunnable から継承されたメソッド
getQualifier, isLongLived
コンストラクターの詳細
AbstractInternetProtocolReceivingChannelAdapter
public AbstractInternetProtocolReceivingChannelAdapter(int port)
メソッドの詳細
getPort
public int getPort()- 戻り値:
- このレシーバーがリッスンしているポート。
setSoTimeout
public void setSoTimeout(int soTimeout) - 次で指定:
- インターフェース
CommonSocketOptions
のsetSoTimeout
- パラメーター:
soTimeout
- タイムアウト(ミリ秒単位)。- 関連事項:
getSoTimeout
public int getSoTimeout()- 戻り値:
- soTimeout
setSoReceiveBufferSize
public void setSoReceiveBufferSize(int soReceiveBufferSize) - 次で指定:
- インターフェース
CommonSocketOptions
のsetSoReceiveBufferSize
- パラメーター:
soReceiveBufferSize
- 受信バッファサイズ。- 関連事項:
getSoReceiveBufferSize
public int getSoReceiveBufferSize()- 戻り値:
- soReceiveBufferSize
setReceiveBufferSize
public void setReceiveBufferSize(int receiveBufferSize) getReceiveBufferSize
public int getReceiveBufferSize()- 戻り値:
- receiveBufferSize
isListening
public boolean isListening()setListening
public void setListening(boolean listening) - パラメーター:
listening
- セットを聞く
getLocalAddress
setLocalAddress
インターフェースからコピーされた説明:CommonSocketOptions
マルチホームシステムでは、通信に使用されるネットワークインターフェースの IP アドレスを指定します。受信アダプターおよびゲートウェイの場合、受信接続用にリストされているインターフェースを指定します。省略した場合、エンドポイントは使用可能なすべてのアダプターをリッスンします。UDP マルチキャスト送信アダプターの場合、マルチキャストパケットの送信先のインターフェースを指定します。UDP ユニキャストおよびマルチキャストアダプターの場合、確認応答ソケットがバインドされるインターフェースを指定します。TCP 送信アダプターおよびゲートウェイには適用されません。- 次で指定:
- インターフェース
CommonSocketOptions
のsetLocalAddress
- パラメーター:
localAddress
- ローカルアドレス。
setPoolSize
public void setPoolSize(int poolSize) setTaskExecutor
getTaskExecutor
- 戻り値:
- taskExecutor
getApplicationEventPublisher
setApplicationEventPublisher
- 次で指定:
- インターフェース
ApplicationEventPublisherAware
のsetApplicationEventPublisher
doStart
protected void doStart()クラスからコピーされた説明:MessageProducerSupport
デフォルトでは何も実行されません。ライフサイクル管理された動作が必要な場合、サブクラスはこれをオーバーライドできます。'lifecycleLock' によって保護されています。- オーバーライド:
- クラス
MessageProducerSupport
のdoStart
checkTaskExecutor
何も指定されていない場合は、デフォルトのタスクエグゼキュータを作成します。- パラメーター:
threadName
- スレッド名。
doStop
protected void doStop()クラスからコピーされた説明:MessageProducerSupport
デフォルトでは何もしません。サブクラスは、ライフサイクル管理の動作が必要な場合、これをオーバーライドできます。- オーバーライド:
- クラス
MessageProducerSupport
のdoStop