Created
June 8, 2013 22:27
-
-
Save julioz/5736830 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACLMessage msg = receive(); | |
if (msg != null) { | |
// Processar a mensagem | |
String conteudo = msg.getContent(); | |
System.out.println(conteudo); | |
// imprimirá "Olá mundo! Esta é minha primeira ACLMessage!" | |
// no caso da mensagem https://gist.github.com/julioz/5736814 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment