Home  >  Q&A  >  body text

java - 如何保持netty的一个client不断发送消息?

PHP中文网PHP中文网2741 days ago664

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-18 10:39:11

    Described like a connection pool

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:39:11

    Create all the links and put them in a queue. Then when you need to transmit data, just take the links from the queue and use them. In order to ensure that the link is not interrupted, a heartbeat mechanism may be required.

    reply
    0
  • Cancelreply