Hello Moderators,

I have been trying to send the message below since yesterday and I
have tried posting it two times. I am not able to see it getting
posted to the group. Can you please let me know why?

Thanks,
-Ray

Posting the following e-mail:

---------- Forwarded message ----------
From: Ray <[email protected]>
Date: Mon, Oct 18, 2010 at 1:01 PM
Subject: App design question for multiple "data" connections
To: Android Developers <[email protected]>


Hello,

I am working on developing an application that requires me to
establish multiple client-server based connections. Connection can be
of two types where the Android device can be a server or a client. I
can have up to 6 - 8 connections. Once the connections are set-up they
need to be running in the background and are not typically affected by
UI actions.

Since each connection can be blocking, I am wondering what is a good
way to design this app. Should I have two services for handling the
server and client connections? Each service could have a "connection
manager" that can spawn new threads when necessary. Or does creating
two services even help? I presume spawning new processes would not be
good as they will be expensive.

I would appreciate any suggestions. Also, if this use case is not
typical please let me know if you need more information to make any
recommendation.

Thanks,
-Balaji

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to