TCP 和 UDP 支援

Spring Integration 提供了用於透過網際網路協議接收和傳送訊息的通道介面卡。同時提供了 UDP (使用者資料報協議) 和 TCP (傳輸控制協議) 介面卡。每個介面卡都透過底層協議提供單向通訊。此外,Spring Integration 還提供了簡單的入站和出站 TCP 閘道器。這些閘道器在需要雙向通訊時使用。

專案需要此依賴項

  • Maven

  • Gradle

<dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>spring-integration-ip</artifactId>
    <version>7.0.0</version>
</dependency>
compile "org.springframework.integration:spring-integration-ip:7.0.0"
© . This site is unofficial and not affiliated with VMware.