Can server notify clients?

I have a C# project and I am using DA and Remoting SDK, with a public channel and a loggedin channel, this project also use a postgres connection (with Devart connection).

I would use postgres feature NOTIFY ( https://www.postgresql.org/docs/9.0/static/sql-notify.html https://www.devart.com/dotconnect/postgresql/docs/Devart.Data.PostgreSql~Devart.Data.PostgreSql.PgSqlConnection~Notification_EV.html ) from server for notify all registered clients when an event happen.

Can I send a notification from server to clients (if there is a feature with DA or RO) in a similar way with this configuration (without create a listen service also in clients)?

Hello

Yes, there is a way to send notifications from server to the clients. Just go over this tutorial: https://docs.remotingsdk.com/Tutorials/ChatSample/

It shows how to send notifications from server to client, how to manage client subscriptions, how to receive server-sent events etc.

A minor note: In the tutorial above events are being sent from withing a service methods code. The Service class provides access to the component that manages server-sent events via one of its properties.
In your case you’ll need to access the same component from other place (ie not form a descendant of a Service class). You can use the RemObjects.SDK.Server.EventSinkManager.GlobalEventSinkManager static property for this purpose.

Regards

Thanks a lot.