messages ======== RPCS ---- .. function:: Dev.sendMessage(address: String, messageType: String, contents: Object) Send a message from the services server to a specific address. **Arguments:** - ``address: String`` (`String `__) - ``messageType: String`` (`String `__) - ``contents: Object`` (`Object `__) .. function:: Dev.sendMessageToClient(messageType: String, contents: Object, delay: BoundedInteger) Broadcast a message from the services server to the current room. **Arguments:** - ``messageType: String`` (`String `__) - ``contents: Object`` (`Object `__) - ``delay: BoundedInteger`` (`BoundedInteger `__) - # of seconds to wait before sending .. function:: Dev.sendMessageToRole(role: String, messageType: String, contents: Object) Send a message from the services server to a given role. **Arguments:** - ``role: String`` (`String `__) - ``messageType: String`` (`String `__) - ``contents: Object`` (`Object `__) .. function:: Dev.sendMessageToRoom(messageType: String, contents: Object) Broadcast a message from the services server to the current room. **Arguments:** - ``messageType: String`` (`String `__) - ``contents: Object`` (`Object `__)