@Service public class WebSocketNotificationService extends java.lang.Object implements NotificationService
Constructor and Description |
---|
WebSocketNotificationService() |
Modifier and Type | Method and Description |
---|---|
void |
notifyMobileConnected(java.lang.String user) |
void |
notifyNewData(java.lang.String data) |
@RabbitListener(bindings=) public void notifyMobileConnected(java.lang.String user)
notifyMobileConnected
in interface NotificationService
@RabbitListener(bindings=) public void notifyNewData(java.lang.String data)
notifyNewData
in interface NotificationService