3 Replies - 381 Views - Last Post: 09 October 2012 - 11:29 AM Rate Topic: -----

#1 anishasilva  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-October 12

Async communication

Posted 08 October 2012 - 09:03 AM

hi i am new to this forum and hope i could get some tips for my question

I have a component TM and it ‘s responsibility is divided to A and B. there is another component query client. Between these component there Is an async communication.
I represented the query client and the TM as classes how do I represent the Async communication?
Is This A Good Question/Topic? 0
  • +

Replies To: Async communication

#2 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2241
  • View blog
  • Posts: 9,418
  • Joined: 29-May 08

Re: Async communication

Posted 08 October 2012 - 09:12 AM

For the async communication I would use Tasks and the Async & Await keywords.
Was This Post Helpful? 0
  • +
  • -

#3 anishasilva  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-October 12

Re: Async communication

Posted 08 October 2012 - 09:19 AM

View PostAdamSpeight2008, on 08 October 2012 - 09:12 AM, said:

For the async communication I would use Tasks and the Async & Await keywords.



Hi AdamSpeight2008

I didn’t get it, Could you point me to a tutorial appreciate it

Thanks
Was This Post Helpful? 0
  • +
  • -

#4 Curtis Rutland  Icon User is offline

  • (╯°□°)╯︵ (~ .o.)~
  • member icon


Reputation: 4440
  • View blog
  • Posts: 7,721
  • Joined: 08-June 10

Re: Async communication

Posted 09 October 2012 - 11:29 AM

This is a very good tutorial that covers how to asynchronously update a GUI, and includes how to work with the TPL and Tasks in .NET 4.0. You should be able to adapt it to whatever else you need pretty easily:

http://www.dreaminco...ui-environment/
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1