Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #4354
| Newsgroups | comp.lang.java.help |
|---|---|
| Date | 2023-02-28 02:44 -0800 |
| Message-ID | <12f1c808-3676-4afc-b2d0-38ea0b967270n@googlegroups.com> (permalink) |
| Subject | How to listen and send/receive on the same transport |
| From | mike <mikaelpetterson@hotmail.com> |
Hi, I need some help with an issue I am working on or like bounce ideas. We have a java client that sends message and listens for notifications and sends heartbeats. The notifications listen has been on a separate transport. Now there is idea to use only one transport (TLS/SSH are the supported ones) to do the same thing. That is: 1. Listen for notifications ( asynchronous). 2. send synchronous messages (when our API is used) and receive reply. 3. send heartbeats at regular intervals to make sure we have an open session ( this is like 2 be it is sent automatically form our client). Is it possible to listen for notification messages and at the same time send and receive messages/heartbeats on the same transport? I think I will loose notifications if I start sending messages and waiting for their response. Any ideas how this can be accomplished in java? br, //mike
Back to comp.lang.java.help | Previous | Next | Find similar
How to listen and send/receive on the same transport mike <mikaelpetterson@hotmail.com> - 2023-02-28 02:44 -0800
csiph-web