A
A
Alex Serov2017-01-29 15:21:08
C++ / C#
Alex Serov, 2017-01-29 15:21:08

How can an object that processes asynchronous requests notify the external environment about its actions?

I am writing a WinRT application in C#.
The "server" object handles requests, and every time a client connects, the UI needs to be updated.
Can this be done only with the Observer pattern (use events) or are there other approaches?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrDywar Pichugin, 2017-01-29
@Dywar

WCF - обратный вызов на клиенте.
SignalR - тоже самое, callback.
Клиент может сам каждую секунду получать новые данные.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question