0

I am having a network class and a dialog class.I have to send the data recieved in network class to dialog class but not direcly i.e it should not be tightly coupled with my dialog. Help me out..............

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Ancient Dragon
0

How about the dialog class initiate network requests, sort of like client server where the dialog class is the client and network class is the server. The network class (server) should be able to communicate with any number of dialog class (client) objects. Its the dialog class which initiates all communications.

0

How about the dialog class initiate network requests, sort of like client server where the dialog class is the client and network class is the server. The network class (server) should be able to communicate with any number of dialog class (client) objects. Its the dialog class which initiates all communications.

Thx for ur reply. i have to communicate with different systems. i have the network class object in my dialog class so i can initiate my communication from my dilaog and the onreceive of my network class will get the data. Now i need that data in my dialog class but not directly.

0

have the dialog class request the data from the network class. The network class should have a get() method that returns the data to whoever calls it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.