public void sendBasicMessageAsync ( Session session , BasicMessage msg ) { String text = ApiDeserializer . toHawkularFormat ( msg ) ; sendTextAsync ( session , text ) ; }
Converts the given message to JSON and sends that JSON text to clients asynchronously .