@Service
public class OutcomingExchangeService
extends java.lang.Object
Constructor and Description |
---|
OutcomingExchangeService() |
Modifier and Type | Method and Description |
---|---|
void |
notifyMobilePaired(java.lang.String userId)
This method sends the userId to the queue to notify the user of the
connection to the desktop.
|
void |
sendMobileContent(java.lang.String userId,
java.lang.String data)
This method sends information from the sensors data to the queue to
notify the desktop with the data
|
public void notifyMobilePaired(java.lang.String userId)
userId
- public void sendMobileContent(java.lang.String userId, java.lang.String data)
userId
- data
-