Send string to and from raspberry pi

does void processMsg loop or will it just run once?