Class WebSocketNotificationService

java.lang.Object
org.qubership.atp.ram.services.WebSocketNotificationService

@Service public class WebSocketNotificationService extends Object
  • Constructor Details

    • WebSocketNotificationService

      public WebSocketNotificationService()
  • Method Details

    • sendEvent

      public <T extends WebSocketEvent<R>, R> void sendEvent(T event)
      Send event via web socket. Destination should be provided by WebSocketEvent.getDestination().
      Type Parameters:
      T - event type
      Parameters:
      event - event data