ssossossossosso

Forums

Forums OroCRM OroCRM – Programming Questions WebSockets Implementation

This topic contains 1 reply, has 2 voices, and was last updated by  Alexandr Smaga 3 years, 10 months ago.

  • Creator
    Topic
  • #22093

    alanstorm
    Participant

    In answering my previous question about WebSockets, Dima mentioned OroCRM currently uses them for

    Record data updates when one user has open form and another user change the record

    Maintenance mode notifications

    Where’s the WebSocket server code for these two features implemented? Or, put another way, how I can send my system users a maintenance mode notification?

    Digging through the OroCRM source, the only reference I could find to a service being used with clank was the `oro_wamp.db_ping` service. Are there not services for the above two features? Or have I misunderstood something? (this is the most likely candidate — I’m new to clank/Ratchet/WAMP/etc)

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #22094

    Alexandr Smaga
    Participant

    Hello.

    Please take a look to the service called oro_wamp.publisher and it’s usage in OroReminderBundle and OroNavigationBundle (there you also could find code related to record update notifications).

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.