Client to Handle Conversation, Presence and Heartbeats

Replicator webakaunt at gmail.com
Mon Sep 12 14:40:45 EDT 2011


We need to have a client that is consuming messages from from the server (
that we don't control ), and occasionally send messages to the server. For
example:

     1. client sends "I am up" message to the server
     2. server sends "I know that you are up. Starting to send you stuff"
message back to the client
     3. server sends massive number of messages to the client
     4. meanwhile client and server send each other heartbeats ( on the same
port ) every second.

Which messaging pattern can we use for this client? Or is it just as simple
as having a client with registered upstream and downstream handlers that
handle heartbeats, presence, etc.. messages?

Thank you!

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Client-to-Handle-Conversation-Presence-and-Heartbeats-tp6784800p6784800.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list